mirror of
https://github.com/boostorg/system.git
synced 2025-07-30 04:27:14 +02:00
Disable constexpr on msvc-14.1
This commit is contained in:
@ -58,6 +58,12 @@
|
|||||||
# undef BOOST_SYSTEM_HAS_CONSTEXPR
|
# undef BOOST_SYSTEM_HAS_CONSTEXPR
|
||||||
#endif
|
#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)
|
#if defined(BOOST_SYSTEM_HAS_CONSTEXPR)
|
||||||
# define BOOST_SYSTEM_CONSTEXPR constexpr
|
# define BOOST_SYSTEM_CONSTEXPR constexpr
|
||||||
#else
|
#else
|
||||||
|
Reference in New Issue
Block a user