Disable constexpr on msvc-14.1

This commit is contained in:
Peter Dimov
2018-09-16 04:49:59 +03:00
parent 02ea086173
commit 3bdea5dfa3

View File

@ -58,6 +58,12 @@
# undef BOOST_SYSTEM_HAS_CONSTEXPR
#endif
#if defined(BOOST_MSVC) && BOOST_MSVC < 1920
// msvc-14.1 does not implement correct static initialization for
// classes with constexpr constructors
# undef BOOST_SYSTEM_HAS_CONSTEXPR
#endif
#if defined(BOOST_SYSTEM_HAS_CONSTEXPR)
# define BOOST_SYSTEM_CONSTEXPR constexpr
#else