mirror of
https://github.com/boostorg/config.git
synced 2025-07-30 04:17:16 +02:00
Disable C++14 constexpr for Intel compiler
Intel compiler up to version 17.0 (on Linux) makes constexpr member functions implicitly const-qualified.
This commit is contained in:
@ -496,6 +496,11 @@ template<> struct assert_intrinsic_wchar_t<unsigned short> {};
|
||||
# define BOOST_NO_CXX11_HDR_TUPLE
|
||||
#endif
|
||||
|
||||
// Broken in all versions up to 17:
|
||||
#if !defined(BOOST_NO_CXX14_CONSTEXPR)
|
||||
#define BOOST_NO_CXX14_CONSTEXPR
|
||||
#endif
|
||||
|
||||
#if (BOOST_INTEL_CXX_VERSION < 1200)
|
||||
//
|
||||
// fenv.h appears not to work with Intel prior to 12.0:
|
||||
|
Reference in New Issue
Block a user