Build: Windows #126
Annotations
2 errors and 2 warnings
main (debug)
Process completed with exit code 2.
|
main (release)
Process completed with exit code 2.
|
main (debug)
In file included from ./inet/clock/model/OscillatorBasedClock.h:13,
from ./inet/clock/model/SettableClock.h:11,
from ./inet/applications/clock/SimpleClockSynchronizer.h:14,
from inet/applications/clock/SimpleClockSynchronizer.cc:8:
./inet/common/Units.h: In function 'bool inet::units::isDivisibleBy8(T)':
./inet/common/Units.h:1384:8: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17'
1384 | if constexpr (std::is_integral_v<T>) return value % 8 == 0;
| ^~~~~~~~~
./inet/common/Units.h:1384:24: error: 'is_integral_v' is not a member of 'std'; did you mean 'is_integral'?
1384 | if constexpr (std::is_integral_v<T>) return value % 8 == 0;
| ^~~~~~~~~~~~~
| is_integral
./inet/common/Units.h:1384:39: error: expected primary-expression before '>' token
1384 | if constexpr (std::is_integral_v<T>) return value % 8 == 0;
| ^
./inet/common/Units.h:1384:40: error: expected primary-expression before ')' token
1384 | if constexpr (std::is_integral_v<T>) return value % 8 == 0;
| ^
./inet/common/Units.h:1385:13: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17'
1385 | else if constexpr (std::is_floating_point_v<T>) return std::fmod(value, 8.0) == 0.0;
| ^~~~~~~~~
./inet/common/Units.h:1385:29: error: 'is_floating_point_v' is not a member of 'std'; did you mean 'is_floating_point'?
1385 | else if constexpr (std::is_floating_point_v<T>) return std::fmod(value, 8.0) == 0.0;
| ^~~~~~~~~~~~~~~~~~~
| is_floating_point
./inet/common/Units.h:1385:50: error: expected primary-expression before '>' token
1385 | else if constexpr (std::is_floating_point_v<T>) return std::fmod(value, 8.0) == 0.0;
| ^
./inet/common/Units.h:1385:51: error: expected primary-expression before ')' token
1385 | else if constexpr (std::is_floating_point_v<T>) return std::fmod(value, 8.0) == 0.0;
| ^
make[1]: *** [Makefile:1894: ../out/x86_64-w64-mingw32-gcc-debug/src/inet/applications/clock/SimpleClockSynchronizer.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from ./inet/common/MemoryInputStream.h:11,
from ./inet/common/packet/serializer/ChunkSerializer.h:11,
from ./inet/common/packet/serializer/FieldsChunkSerializer.h:11,
from ./inet/applications/base/ApplicationPacketSerializer.h:11,
from inet/applications/base/ApplicationPacketSerializer.cc:8:
./inet/common/Units.h: In function 'bool inet::units::isDivisibleBy8(T)':
./inet/common/Units.h:1384:8: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17'
1384 | if constexpr (std::is_integral_v<T>) return value % 8 == 0;
| ^~~~~~~~~
./inet/common/Units.h:1384:24: error: 'is_integral_v' is not a member of 'std'; did you mean 'is_integral'?
1384 | if constexpr (std::is_integral_v<T>) return value % 8 == 0;
| ^~~~~~~~~~~~~
| is_integral
./inet/common/Units.h:1384:39: error: expected primary-expression before '>' token
1384 | if constexpr (std::is_integral_v<T>) return value % 8 == 0;
| ^
./inet/common/Units.h:1384:40: error: expected primary-expression before ')' token
1384 | if constexpr (std::is_integral_v<T>) return value % 8 == 0;
| ^
./inet/common/Units.h:1385:13: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17'
1385 | else if constexpr (std::is_floating_point_v<T>) return std::fmod(value, 8.0) == 0.0;
| ^~~~~~~~~
./inet/common/Units.h:1385:29: error: 'is_floating_point_v' is not a member of 'std'; di
|
main (release)
In file included from ./inet/clock/model/OscillatorBasedClock.h:13,
from ./inet/clock/model/SettableClock.h:11,
from ./inet/applications/clock/SimpleClockSynchronizer.h:14,
from inet/applications/clock/SimpleClockSynchronizer.cc:8:
./inet/common/Units.h: In function 'bool inet::units::isDivisibleBy8(T)':
./inet/common/Units.h:1384:8: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17'
1384 | if constexpr (std::is_integral_v<T>) return value % 8 == 0;
| ^~~~~~~~~
./inet/common/Units.h:1384:24: error: 'is_integral_v' is not a member of 'std'; did you mean 'is_integral'?
1384 | if constexpr (std::is_integral_v<T>) return value % 8 == 0;
| ^~~~~~~~~~~~~
| is_integral
./inet/common/Units.h:1384:39: error: expected primary-expression before '>' token
1384 | if constexpr (std::is_integral_v<T>) return value % 8 == 0;
| ^
./inet/common/Units.h:1384:40: error: expected primary-expression before ')' token
1384 | if constexpr (std::is_integral_v<T>) return value % 8 == 0;
| ^
./inet/common/Units.h:1385:13: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17'
1385 | else if constexpr (std::is_floating_point_v<T>) return std::fmod(value, 8.0) == 0.0;
| ^~~~~~~~~
./inet/common/Units.h:1385:29: error: 'is_floating_point_v' is not a member of 'std'; did you mean 'is_floating_point'?
1385 | else if constexpr (std::is_floating_point_v<T>) return std::fmod(value, 8.0) == 0.0;
| ^~~~~~~~~~~~~~~~~~~
| is_floating_point
./inet/common/Units.h:1385:50: error: expected primary-expression before '>' token
1385 | else if constexpr (std::is_floating_point_v<T>) return std::fmod(value, 8.0) == 0.0;
| ^
./inet/common/Units.h:1385:51: error: expected primary-expression before ')' token
1385 | else if constexpr (std::is_floating_point_v<T>) return std::fmod(value, 8.0) == 0.0;
| ^
make[1]: *** [Makefile:1892: ../out/x86_64-w64-mingw32-gcc-release/src/inet/applications/clock/SimpleClockSynchronizer.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from ./inet/common/MemoryInputStream.h:11,
from ./inet/common/packet/serializer/ChunkSerializer.h:11,
from ./inet/common/packet/serializer/FieldsChunkSerializer.h:11,
from ./inet/applications/base/ApplicationPacketSerializer.h:11,
from inet/applications/base/ApplicationPacketSerializer.cc:8:
./inet/common/Units.h: In function 'bool inet::units::isDivisibleBy8(T)':
./inet/common/Units.h:1384:8: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17'
1384 | if constexpr (std::is_integral_v<T>) return value % 8 == 0;
| ^~~~~~~~~
./inet/common/Units.h:1384:24: error: 'is_integral_v' is not a member of 'std'; did you mean 'is_integral'?
1384 | if constexpr (std::is_integral_v<T>) return value % 8 == 0;
| ^~~~~~~~~~~~~
| is_integral
./inet/common/Units.h:1384:39: error: expected primary-expression before '>' token
1384 | if constexpr (std::is_integral_v<T>) return value % 8 == 0;
| ^
./inet/common/Units.h:1384:40: error: expected primary-expression before ')' token
1384 | if constexpr (std::is_integral_v<T>) return value % 8 == 0;
| ^
./inet/common/Units.h:1385:13: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17'
1385 | else if constexpr (std::is_floating_point_v<T>) return std::fmod(value, 8.0) == 0.0;
| ^~~~~~~~~
./inet/common/Units.h:1385:29: error: 'is_floating_point_v' is not a member of 'std';
|