Build: Mac OS #120
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/applications/base/ApplicationPacketSerializer.cc:8:
In file included from ./inet/applications/base/ApplicationPacketSerializer.h:11:
In file included from ./inet/common/packet/serializer/FieldsChunkSerializer.h:11:
In file included from ./inet/common/packet/serializer/ChunkSerializer.h:11:
In file included from ./inet/common/MemoryInputStream.h:11:
./inet/common/Units.h:1384:8: warning: constexpr if is a C++17 extension [-Wc++17-extensions]
if constexpr (std::is_integral_v<T>) return value % 8 == 0;
^
In file included from inet/applications/dhcp/DhcpClient.cc:9:
In file included from ./inet/applications/dhcp/DhcpClient.h:13:
In file included from ./inet/applications/dhcp/DhcpLease.h:12:
In file included from ./inet/networklayer/arp/ipv4/Arp.h:19:
In file included from ./inet/common/packet/Packet.h:14:
In file included from ./inet/common/TagBase.h:13:
./inet/common/Units.h:1384:8: warning: constexpr if is a C++17 extension [-Wc++17-extensions]
if constexpr (std::is_integral_v<T>) return value % 8 == 0;
^
./inet/common/Units.h:1384:24: error: no template named 'is_integral_v' in namespace 'std'; did you mean 'is_integral'?
if constexpr (std::is_integral_v<T>) return value % 8 == 0;
~~~~~^~~~~~~~~~~~~
is_integral
/opt/osxcross/target/bin/../SDK/MacOSX12.3.sdk/usr/include/c++/v1/type_traits:772:29: note: 'is_integral' declared here
struct _LIBCPP_TEMPLATE_VIS is_integral : _BoolConstant<__is_integral(_Tp)> { };
^
In file included from inet/applications/base/ApplicationPacketSerializer.cc:8:
In file included from ./inet/applications/base/ApplicationPacketSerializer.h:11:
In file included from ./inet/common/packet/serializer/FieldsChunkSerializer.h:11:
In file included from ./inet/common/packet/serializer/ChunkSerializer.h:11:
In file included from ./inet/common/MemoryInputStream.h:11:
./inet/common/Units.h:1384:40: error: expected unqualified-id
if constexpr (std::is_integral_v<T>) return value % 8 == 0;
^
./inet/common/Units.h:1385:13: warning: constexpr if is a C++17 extension [-Wc++17-extensions]
else if constexpr (std::is_floating_point_v<T>) return std::fmod(value, 8.0) == 0.0;
^
./inet/common/Units.h:1385:29: error: no template named 'is_floating_point_v' in namespace 'std'; did you mean 'is_floating_point'?
else if constexpr (std::is_floating_point_v<T>) return std::fmod(value, 8.0) == 0.0;
~~~~~^~~~~~~~~~~~~~~~~~~
is_floating_point
/opt/osxcross/target/bin/../SDK/MacOSX12.3.sdk/usr/include/c++/v1/type_traits:826:50: note: 'is_floating_point' declared here
template <class _Tp> struct _LIBCPP_TEMPLATE_VIS is_floating_point
^
In file included from inet/applications/base/ApplicationPacketSerializer.cc:8:
In file included from ./inet/applications/base/ApplicationPacketSerializer.h:11:
In file included from ./inet/common/packet/serializer/FieldsChunkSerializer.h:11:
In file included from ./inet/common/packet/serializer/ChunkSerializer.h:11:
In file included from ./inet/common/MemoryInputStream.hIn file included from inet/applications/clock/SimpleClockSynchronizer.cc:11:
./inet/common/Units.h:1385:51: error: expected unqualified-id
:8:
In file included from ./inet/applications/clock/SimpleClockSynchronizer.h:14:
In file included from ./inet/clock/model/SettableClock.h:11:
In file included from ./inet/clock/model/OscillatorBasedClock.h:13:
./inet/common/Units.h:1384: else if constexpr (std::is_floating_point_v<T>) return std::fmod(value, 8.0) == 0.0;
^
8: warning: constexpr if is a C++17 extension [-Wc++17-extensions]
if constexpr (std::is_integral_v<T>) return value % 8 == 0;
^
./inet/common/Units.h:1384:24: error: no template named 'is_integral_v' in namespace 'std'; did you mean 'is_integral'?
if constexpr (std::is_integral_v<T>) return value % 8 == 0;
~~~~~^
|
main (release)
In file included from inet/applications/base/ApplicationPacketSerializer.cc:8:
In file included from ./inet/applications/base/ApplicationPacketSerializer.h:11:
In file included from ./inet/common/packet/serializer/FieldsChunkSerializer.h:11:
In file included from ./inet/common/packet/serializer/ChunkSerializer.h:11:
In file included from ./inet/common/MemoryInputStream.h:11:
./inet/common/Units.h:1384:8: warning: constexpr if is a C++17 extension [-Wc++17-extensions]
if constexpr (std::is_integral_v<T>) return value % 8 == 0;
^
In file included from inet/applications/dhcp/DhcpClient.cc:9:
In file included from ./inet/applications/dhcp/DhcpClient.h:13:
In file included from ./inet/applications/dhcp/DhcpLease.h:12:
In file included from ./inet/networklayer/arp/ipv4/Arp.h:19:
In file included from ./inet/common/packet/Packet.h:14:
In file included from ./inet/common/TagBase.h:13:
./inet/common/Units.h:1384:8: warning: constexpr if is a C++17 extension [-Wc++17-extensions]
if constexpr (std::is_integral_v<T>) return value % 8 == 0;
^
./inet/common/Units.h:1384:24: error: no template named 'is_integral_v' in namespace 'std'; did you mean 'is_integral'?
if constexpr (std::is_integral_v<T>) return value % 8 == 0;
~~~~~^~~~~~~~~~~~~
is_integral
/opt/osxcross/target/bin/../SDK/MacOSX12.3.sdk/usr/include/c++/v1/type_traits:772:29: note: 'is_integral' declared here
struct _LIBCPP_TEMPLATE_VIS is_integral : _BoolConstant<__is_integral(_Tp)> { };
^
In file included from inet/applications/base/ApplicationPacketSerializer.cc:8:
In file included from ./inet/applications/base/ApplicationPacketSerializer.h:11:
In file included from ./inet/common/packet/serializer/FieldsChunkSerializer.h:11:
In file included from ./inet/common/packet/serializer/ChunkSerializer.h:11:
In file included from ./inet/common/MemoryInputStream.h:11:
./inet/common/Units.h:1384:40: error: expected unqualified-id
if constexpr (std::is_integral_v<T>) return value % 8 == 0;
^
./inet/common/Units.h:1385:13: warning: constexpr if is a C++17 extension [-Wc++17-extensions]
else if constexpr (std::is_floating_point_v<T>) return std::fmod(value, 8.0) == 0.0;
^
./inet/common/Units.h:1385:29: error: no template named 'is_floating_point_v' in namespace 'std'; did you mean 'is_floating_point'?
else if constexpr (std::is_floating_point_v<T>) return std::fmod(value, 8.0) == 0.0;
~~~~~^~~~~~~~~~~~~~~~~~~
is_floating_point
/opt/osxcross/target/bin/../SDK/MacOSX12.3.sdk/usr/include/c++/v1/type_traits:826:50: note: 'is_floating_point' declared here
template <class _Tp> struct _LIBCPP_TEMPLATE_VIS is_floating_point
^
In file included from inet/applications/base/ApplicationPacketSerializer.cc:8:
In file included from ./inet/applications/base/ApplicationPacketSerializer.h:11:
In file included from ./inet/common/packet/serializer/FieldsChunkSerializer.h:11:
In file included from ./inet/common/packet/serializer/ChunkSerializer.h:11:
In file included from ./inet/common/MemoryInputStream.h:11:
./inet/common/Units.h:1385:51: error: expected unqualified-id
else if constexpr (std::is_floating_point_v<T>) return std::fmod(value, 8.0) == 0.0;
^
In file included from inet/applications/clock/SimpleClockSynchronizer.cc:8:
In file included from ./inet/applications/clock/SimpleClockSynchronizer.h:14:
In file included from ./inet/clock/model/SettableClock.h:11:
In file included from ./inet/clock/model/OscillatorBasedClock.h:13:
./inet/common/Units.h:1384:8: warning: constexpr if is a C++17 extension [-Wc++17-extensions]
if constexpr (std::is_integral_v<T>) return value % 8 == 0;
^
./inet/common/Units.h:1384:24: error: no template named 'is_integral_v' in namespace 'std'; did you mean 'is_integral'?
if constexpr (std::is_integral_v<T>) return value % 8 == 0;
~~~~~^
|