From a47cf35b0f28cf0e7cd54f6480c16ea1ac0a3115 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Wed, 17 Jan 2018 19:17:17 +0200 Subject: [PATCH] Disable atomic_sp_constexpr_test on libc++ 5.0 as well --- test/atomic_sp_constexpr_test.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/atomic_sp_constexpr_test.cpp b/test/atomic_sp_constexpr_test.cpp index f49f0e0..3807deb 100644 --- a/test/atomic_sp_constexpr_test.cpp +++ b/test/atomic_sp_constexpr_test.cpp @@ -11,6 +11,7 @@ #include #include #include +#include #if defined( BOOST_NO_CXX11_CONSTEXPR ) @@ -29,10 +30,10 @@ int main() {} BOOST_PRAGMA_MESSAGE("Skipping test due to __clang__ and BOOST_NO_CXX14_CONSTEXPR") int main() {} -#elif defined( _LIBCPP_VERSION ) && ( _LIBCPP_VERSION < 5000 ) +#elif defined( _LIBCPP_VERSION ) && ( _LIBCPP_VERSION < 6000 ) // in libc++, atomic_flag has a non-constexpr constructor from bool -BOOST_PRAGMA_MESSAGE("Skipping test due to _LIBCPP_VERSION < 5000") +BOOST_PRAGMA_MESSAGE("Skipping test due to _LIBCPP_VERSION " BOOST_STRINGIZE(_LIBCPP_VERSION)) int main() {} #elif defined( BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX )