forked from boostorg/config
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
|
# define BOOST_NO_CXX11_HDR_TUPLE
|
||||||
#endif
|
#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)
|
#if (BOOST_INTEL_CXX_VERSION < 1200)
|
||||||
//
|
//
|
||||||
// fenv.h appears not to work with Intel prior to 12.0:
|
// fenv.h appears not to work with Intel prior to 12.0:
|
||||||
|
Reference in New Issue
Block a user