mirror of
https://github.com/boostorg/core.git
synced 2025-05-11 13:13:55 +00:00
Disable sv_construct_test_cx2 for libstdc++ 7.2 and earlier
This commit is contained in:
parent
2d7e036416
commit
c4bb59617c
@ -18,6 +18,13 @@ int main() {}
|
|||||||
BOOST_PRAGMA_MESSAGE( "Test skipped because BOOST_CXX_VERSION < 201703L" )
|
BOOST_PRAGMA_MESSAGE( "Test skipped because BOOST_CXX_VERSION < 201703L" )
|
||||||
int main() {}
|
int main() {}
|
||||||
|
|
||||||
|
#elif defined(BOOST_LIBSTDCXX_VERSION) && BOOST_LIBSTDCXX_VERSION < 70300
|
||||||
|
|
||||||
|
// std::char_traits is not constexpr in libstdc++ 7.2
|
||||||
|
|
||||||
|
BOOST_PRAGMA_MESSAGE( "Test skipped because BOOST_LIBSTDCXX_VERSION < 70300" )
|
||||||
|
int main() {}
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
#define STATIC_ASSERT(...) static_assert(__VA_ARGS__, #__VA_ARGS__)
|
#define STATIC_ASSERT(...) static_assert(__VA_ARGS__, #__VA_ARGS__)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user