From 4d0d81477c446cc1b0ec06f9e0b7736f6b9e7a2e Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Sat, 20 Apr 2019 18:15:05 +0300 Subject: [PATCH] Update msvc workarounds for 14.2 --- test/atomic_sp_constexpr_test.cpp | 6 +++--- test/sp_constexpr_test.cpp | 2 +- test/sp_constexpr_test2.cpp | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/test/atomic_sp_constexpr_test.cpp b/test/atomic_sp_constexpr_test.cpp index 3807deb..ea373bf 100644 --- a/test/atomic_sp_constexpr_test.cpp +++ b/test/atomic_sp_constexpr_test.cpp @@ -18,10 +18,10 @@ BOOST_PRAGMA_MESSAGE("Skipping test due to BOOST_NO_CXX11_CONSTEXPR") int main() {} -#elif BOOST_WORKAROUND( BOOST_MSVC, < 1920 ) +#elif BOOST_WORKAROUND( BOOST_MSVC, < 1930 ) -// MSVC does not implement static initialization for constexpr -BOOST_PRAGMA_MESSAGE("Skipping test due to BOOST_MSVC < 1920") +// MSVC does not implement static initialization for constexpr constructors +BOOST_PRAGMA_MESSAGE("Skipping test due to BOOST_MSVC < 1930") int main() {} #elif defined(__clang__) && defined( BOOST_NO_CXX14_CONSTEXPR ) diff --git a/test/sp_constexpr_test.cpp b/test/sp_constexpr_test.cpp index 38c96f4..4de43dd 100644 --- a/test/sp_constexpr_test.cpp +++ b/test/sp_constexpr_test.cpp @@ -17,7 +17,7 @@ # undef HAVE_CONSTEXPR_INIT #endif -#if BOOST_WORKAROUND( BOOST_MSVC, < 1920 ) +#if BOOST_WORKAROUND( BOOST_MSVC, < 1930 ) # undef HAVE_CONSTEXPR_INIT #endif diff --git a/test/sp_constexpr_test2.cpp b/test/sp_constexpr_test2.cpp index dd6e4ac..d4926a8 100644 --- a/test/sp_constexpr_test2.cpp +++ b/test/sp_constexpr_test2.cpp @@ -17,7 +17,7 @@ # undef HAVE_CONSTEXPR_INIT #endif -#if BOOST_WORKAROUND( BOOST_MSVC, < 1920 ) +#if BOOST_WORKAROUND( BOOST_MSVC, < 1930 ) # undef HAVE_CONSTEXPR_INIT #endif