Chris@16: // (C) Copyright John Maddock 2001-8. Chris@16: // (C) Copyright Peter Dimov 2001. Chris@16: // (C) Copyright Jens Maurer 2001. Chris@16: // (C) Copyright David Abrahams 2002 - 2003. Chris@16: // (C) Copyright Aleksey Gurtovoy 2002 - 2003. Chris@16: // (C) Copyright Guillaume Melquiond 2002 - 2003. Chris@16: // (C) Copyright Beman Dawes 2003. Chris@16: // (C) Copyright Martin Wille 2003. Chris@16: // Use, modification and distribution are subject to the Chris@16: // Boost Software License, Version 1.0. (See accompanying file Chris@16: // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) Chris@16: Chris@16: // See http://www.boost.org for most recent version. Chris@16: Chris@16: // Intel compiler setup: Chris@16: Chris@16: #include "boost/config/compiler/common_edg.hpp" Chris@16: Chris@16: #if defined(__INTEL_COMPILER) Chris@101: #if __INTEL_COMPILER == 9999 Chris@101: # define BOOST_INTEL_CXX_VERSION 1200 // Intel bug in 12.1. Chris@101: #else Chris@16: # define BOOST_INTEL_CXX_VERSION __INTEL_COMPILER Chris@101: #endif Chris@16: #elif defined(__ICL) Chris@16: # define BOOST_INTEL_CXX_VERSION __ICL Chris@16: #elif defined(__ICC) Chris@16: # define BOOST_INTEL_CXX_VERSION __ICC Chris@16: #elif defined(__ECC) Chris@16: # define BOOST_INTEL_CXX_VERSION __ECC Chris@16: #endif Chris@16: Chris@16: // Flags determined by comparing output of 'icpc -dM -E' with and without '-std=c++0x' Chris@16: #if (!(defined(_WIN32) || defined(_WIN64)) && defined(__STDC_HOSTED__) && (__STDC_HOSTED__ && (BOOST_INTEL_CXX_VERSION <= 1200))) || defined(__GXX_EXPERIMENTAL_CPP0X__) || defined(__GXX_EXPERIMENTAL_CXX0X__) Chris@16: # define BOOST_INTEL_STDCXX0X Chris@16: #endif Chris@16: #if defined(_MSC_VER) && (_MSC_VER >= 1600) Chris@16: # define BOOST_INTEL_STDCXX0X Chris@16: #endif Chris@16: Chris@101: #ifdef __GNUC__ Chris@101: # define BOOST_INTEL_GCC_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) Chris@16: #endif Chris@101: Chris@101: #if !defined(BOOST_COMPILER) Chris@101: # if defined(BOOST_INTEL_STDCXX0X) Chris@101: # define BOOST_COMPILER "Intel C++ C++0x mode version " BOOST_STRINGIZE(BOOST_INTEL_CXX_VERSION) Chris@101: # else Chris@101: # define BOOST_COMPILER "Intel C++ version " BOOST_STRINGIZE(BOOST_INTEL_CXX_VERSION) Chris@101: # endif Chris@101: #endif Chris@101: Chris@16: #define BOOST_INTEL BOOST_INTEL_CXX_VERSION Chris@16: Chris@16: #if defined(_WIN32) || defined(_WIN64) Chris@16: # define BOOST_INTEL_WIN BOOST_INTEL Chris@16: #else Chris@16: # define BOOST_INTEL_LINUX BOOST_INTEL Chris@16: #endif Chris@16: Chris@16: #if (BOOST_INTEL_CXX_VERSION <= 600) Chris@16: Chris@16: # if defined(_MSC_VER) && (_MSC_VER <= 1300) // added check for <= VC 7 (Peter Dimov) Chris@16: Chris@16: // Boost libraries assume strong standard conformance unless otherwise Chris@16: // indicated by a config macro. As configured by Intel, the EDG front-end Chris@16: // requires certain compiler options be set to achieve that strong conformance. Chris@16: // Particularly /Qoption,c,--arg_dep_lookup (reported by Kirk Klobe & Thomas Witt) Chris@16: // and /Zc:wchar_t,forScope. See boost-root/tools/build/intel-win32-tools.jam for Chris@16: // details as they apply to particular versions of the compiler. When the Chris@16: // compiler does not predefine a macro indicating if an option has been set, Chris@16: // this config file simply assumes the option has been set. Chris@16: // Thus BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP will not be defined, even if Chris@16: // the compiler option is not enabled. Chris@16: Chris@16: # define BOOST_NO_SWPRINTF Chris@16: # endif Chris@16: Chris@16: // Void returns, 64 bit integrals don't work when emulating VC 6 (Peter Dimov) Chris@16: Chris@16: # if defined(_MSC_VER) && (_MSC_VER <= 1200) Chris@16: # define BOOST_NO_VOID_RETURNS Chris@16: # define BOOST_NO_INTEGRAL_INT64_T Chris@16: # endif Chris@16: Chris@16: #endif Chris@16: Chris@16: #if (BOOST_INTEL_CXX_VERSION <= 710) && defined(_WIN32) Chris@16: # define BOOST_NO_POINTER_TO_MEMBER_TEMPLATE_PARAMETERS Chris@16: #endif Chris@16: Chris@16: // See http://aspn.activestate.com/ASPN/Mail/Message/boost/1614864 Chris@16: #if BOOST_INTEL_CXX_VERSION < 600 Chris@16: # define BOOST_NO_INTRINSIC_WCHAR_T Chris@16: #else Chris@16: // We should test the macro _WCHAR_T_DEFINED to check if the compiler Chris@16: // supports wchar_t natively. *BUT* there is a problem here: the standard Chris@16: // headers define this macro if they typedef wchar_t. Anyway, we're lucky Chris@16: // because they define it without a value, while Intel C++ defines it Chris@16: // to 1. So we can check its value to see if the macro was defined natively Chris@16: // or not. Chris@16: // Under UNIX, the situation is exactly the same, but the macro _WCHAR_T Chris@16: // is used instead. Chris@16: # if ((_WCHAR_T_DEFINED + 0) == 0) && ((_WCHAR_T + 0) == 0) Chris@16: # define BOOST_NO_INTRINSIC_WCHAR_T Chris@16: # endif Chris@16: #endif Chris@16: Chris@16: #if defined(__GNUC__) && !defined(BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL) Chris@16: // Chris@16: // Figure out when Intel is emulating this gcc bug Chris@16: // (All Intel versions prior to 9.0.26, and versions Chris@16: // later than that if they are set up to emulate gcc 3.2 Chris@16: // or earlier): Chris@16: // Chris@16: # if ((__GNUC__ == 3) && (__GNUC_MINOR__ <= 2)) || (BOOST_INTEL < 900) || (__INTEL_COMPILER_BUILD_DATE < 20050912) Chris@16: # define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL Chris@16: # endif Chris@16: #endif Chris@16: #if (defined(__GNUC__) && (__GNUC__ < 4)) || (defined(_WIN32) && (BOOST_INTEL_CXX_VERSION <= 1200)) || (BOOST_INTEL_CXX_VERSION <= 1200) Chris@16: // GCC or VC emulation: Chris@16: #define BOOST_NO_TWO_PHASE_NAME_LOOKUP Chris@16: #endif Chris@16: // Chris@16: // Verify that we have actually got BOOST_NO_INTRINSIC_WCHAR_T Chris@16: // set correctly, if we don't do this now, we will get errors later Chris@16: // in type_traits code among other things, getting this correct Chris@16: // for the Intel compiler is actually remarkably fragile and tricky: Chris@16: // Chris@16: #ifdef __cplusplus Chris@16: #if defined(BOOST_NO_INTRINSIC_WCHAR_T) Chris@16: #include Chris@16: template< typename T > struct assert_no_intrinsic_wchar_t; Chris@16: template<> struct assert_no_intrinsic_wchar_t { typedef void type; }; Chris@16: // if you see an error here then you need to unset BOOST_NO_INTRINSIC_WCHAR_T Chris@16: // where it is defined above: Chris@16: typedef assert_no_intrinsic_wchar_t::type assert_no_intrinsic_wchar_t_; Chris@16: #else Chris@16: template< typename T > struct assert_intrinsic_wchar_t; Chris@16: template<> struct assert_intrinsic_wchar_t {}; Chris@16: // if you see an error here then define BOOST_NO_INTRINSIC_WCHAR_T on the command line: Chris@16: template<> struct assert_intrinsic_wchar_t {}; Chris@16: #endif Chris@16: #endif Chris@16: Chris@16: #if defined(_MSC_VER) && (_MSC_VER+0 >= 1000) Chris@16: # if _MSC_VER >= 1200 Chris@16: # define BOOST_HAS_MS_INT64 Chris@16: # endif Chris@16: # define BOOST_NO_SWPRINTF Chris@16: # define BOOST_NO_TWO_PHASE_NAME_LOOKUP Chris@16: #elif defined(_WIN32) Chris@16: # define BOOST_DISABLE_WIN32 Chris@16: #endif Chris@16: Chris@16: // I checked version 6.0 build 020312Z, it implements the NRVO. Chris@16: // Correct this as you find out which version of the compiler Chris@16: // implemented the NRVO first. (Daniel Frey) Chris@16: #if (BOOST_INTEL_CXX_VERSION >= 600) Chris@16: # define BOOST_HAS_NRVO Chris@16: #endif Chris@16: Chris@16: // Branch prediction hints Chris@16: // I'm not sure 8.0 was the first version to support these builtins, Chris@16: // update the condition if the version is not accurate. (Andrey Semashev) Chris@16: #if defined(__GNUC__) && BOOST_INTEL_CXX_VERSION >= 800 Chris@16: #define BOOST_LIKELY(x) __builtin_expect(x, 1) Chris@16: #define BOOST_UNLIKELY(x) __builtin_expect(x, 0) Chris@16: #endif Chris@16: Chris@101: // RTTI Chris@101: // __RTTI is the EDG macro Chris@101: // __INTEL_RTTI__ is the Intel macro Chris@101: // __GXX_RTTI is the g++ macro Chris@101: // _CPPRTTI is the MSVC++ macro Chris@101: #if !defined(__RTTI) && !defined(__INTEL_RTTI__) && !defined(__GXX_RTTI) && !defined(_CPPRTTI) Chris@101: Chris@101: #if !defined(BOOST_NO_RTTI) Chris@101: # define BOOST_NO_RTTI Chris@101: #endif Chris@101: Chris@101: // in MS mode, static typeid works even when RTTI is off Chris@101: #if !defined(_MSC_VER) && !defined(BOOST_NO_TYPEID) Chris@101: # define BOOST_NO_TYPEID Chris@101: #endif Chris@101: Chris@101: #endif Chris@101: Chris@16: // Chris@16: // versions check: Chris@16: // we don't support Intel prior to version 6.0: Chris@16: #if BOOST_INTEL_CXX_VERSION < 600 Chris@16: # error "Compiler not supported or configured - please reconfigure" Chris@16: #endif Chris@16: Chris@16: // Intel on MacOS requires Chris@16: #if defined(__APPLE__) && defined(__INTEL_COMPILER) Chris@16: # define BOOST_NO_TWO_PHASE_NAME_LOOKUP Chris@16: #endif Chris@16: Chris@16: // Intel on Altix Itanium Chris@16: #if defined(__itanium__) && defined(__INTEL_COMPILER) Chris@16: # define BOOST_NO_TWO_PHASE_NAME_LOOKUP Chris@16: #endif Chris@16: Chris@16: // Chris@16: // An attempt to value-initialize a pointer-to-member may trigger an Chris@16: // internal error on Intel <= 11.1 (last checked version), as was Chris@16: // reported by John Maddock, Intel support issue 589832, May 2010. Chris@16: // Moreover, according to test results from Huang-Vista-x86_32_intel, Chris@16: // intel-vc9-win-11.1 may leave a non-POD array uninitialized, in some Chris@16: // cases when it should be value-initialized. Chris@16: // (Niels Dekker, LKEB, May 2010) Chris@16: // Apparently Intel 12.1 (compiler version number 9999 !!) has the same issue (compiler regression). Chris@16: #if defined(__INTEL_COMPILER) Chris@101: # if (__INTEL_COMPILER <= 1110) || (__INTEL_COMPILER == 9999) || (defined(_WIN32) && (__INTEL_COMPILER < 1600)) Chris@16: # define BOOST_NO_COMPLETE_VALUE_INITIALIZATION Chris@16: # endif Chris@16: #endif Chris@16: Chris@16: // Chris@16: // Dynamic shared object (DSO) and dynamic-link library (DLL) support Chris@16: // Chris@16: #if defined(__GNUC__) && (__GNUC__ >= 4) Chris@16: # define BOOST_SYMBOL_EXPORT __attribute__((visibility("default"))) Chris@16: # define BOOST_SYMBOL_IMPORT Chris@16: # define BOOST_SYMBOL_VISIBLE __attribute__((visibility("default"))) Chris@16: #endif Chris@16: // Chris@16: // C++0x features Chris@101: // For each feature we need to check both the Intel compiler version, Chris@101: // and the version of MSVC or GCC that we are emulating. Chris@101: // See http://software.intel.com/en-us/articles/c0x-features-supported-by-intel-c-compiler/ Chris@101: // for a list of which features were implemented in which Intel releases. Chris@16: // Chris@16: #if defined(BOOST_INTEL_STDCXX0X) Chris@101: // BOOST_NO_CXX11_CONSTEXPR: Chris@101: #if (BOOST_INTEL_CXX_VERSION >= 1500) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40600)) && !defined(_MSC_VER) Chris@101: // Available in earlier Intel versions, but fail our tests: Chris@101: # undef BOOST_NO_CXX11_CONSTEXPR Chris@101: #endif Chris@101: // BOOST_NO_CXX11_NULLPTR: Chris@101: #if (BOOST_INTEL_CXX_VERSION >= 1210) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40600)) && (!defined(_MSC_VER) || (_MSC_VER >= 1600)) Chris@101: # undef BOOST_NO_CXX11_NULLPTR Chris@101: #endif Chris@101: // BOOST_NO_CXX11_TEMPLATE_ALIASES Chris@101: #if (BOOST_INTEL_CXX_VERSION >= 1210) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40700)) && (!defined(_MSC_VER) || (_MSC_FULL_VER >= 180020827)) Chris@101: # undef BOOST_NO_CXX11_TEMPLATE_ALIASES Chris@16: #endif Chris@16: Chris@101: // BOOST_NO_CXX11_DECLTYPE Chris@101: #if (BOOST_INTEL_CXX_VERSION >= 1200) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40300)) && (!defined(_MSC_VER) || (_MSC_VER >= 1600)) Chris@101: # undef BOOST_NO_CXX11_DECLTYPE Chris@16: #endif Chris@16: Chris@101: // BOOST_NO_CXX11_DECLTYPE_N3276 Chris@101: #if (BOOST_INTEL_CXX_VERSION >= 1500) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40800)) && (!defined(_MSC_VER) || (_MSC_FULL_VER >= 180020827)) Chris@101: # undef BOOST_NO_CXX11_DECLTYPE_N3276 Chris@101: #endif Chris@16: Chris@101: // BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS Chris@101: #if (BOOST_INTEL_CXX_VERSION >= 1200) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40300)) && (!defined(_MSC_VER) || (_MSC_FULL_VER >= 180020827)) Chris@101: # undef BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS Chris@16: #endif Chris@101: Chris@101: // BOOST_NO_CXX11_RVALUE_REFERENCES Chris@101: #if (BOOST_INTEL_CXX_VERSION >= 1300) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40300)) && (!defined(_MSC_VER) || (_MSC_VER >= 1600)) Chris@101: // This is available from earlier Intel versions, but breaks Filesystem and other libraries: Chris@101: # undef BOOST_NO_CXX11_RVALUE_REFERENCES Chris@101: #endif Chris@101: Chris@101: // BOOST_NO_CXX11_STATIC_ASSERT Chris@101: #if (BOOST_INTEL_CXX_VERSION >= 1110) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40300)) && (!defined(_MSC_VER) || (_MSC_VER >= 1600)) Chris@101: # undef BOOST_NO_CXX11_STATIC_ASSERT Chris@101: #endif Chris@101: Chris@101: // BOOST_NO_CXX11_VARIADIC_TEMPLATES Chris@101: #if (BOOST_INTEL_CXX_VERSION >= 1200) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40400)) && (!defined(_MSC_VER) || (_MSC_FULL_VER >= 180020827)) Chris@101: # undef BOOST_NO_CXX11_VARIADIC_TEMPLATES Chris@101: #endif Chris@101: Chris@101: // BOOST_NO_CXX11_VARIADIC_MACROS Chris@101: #if (BOOST_INTEL_CXX_VERSION >= 1200) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40200)) && (!defined(_MSC_VER) || (_MSC_VER >= 1400)) Chris@101: # undef BOOST_NO_CXX11_VARIADIC_MACROS Chris@101: #endif Chris@101: Chris@101: // BOOST_NO_CXX11_AUTO_DECLARATIONS Chris@101: #if (BOOST_INTEL_CXX_VERSION >= 1200) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40400)) && (!defined(_MSC_VER) || (_MSC_VER >= 1600)) Chris@101: # undef BOOST_NO_CXX11_AUTO_DECLARATIONS Chris@101: #endif Chris@101: Chris@101: // BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS Chris@101: #if (BOOST_INTEL_CXX_VERSION >= 1200) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40400)) && (!defined(_MSC_VER) || (_MSC_VER >= 1600)) Chris@101: # undef BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS Chris@101: #endif Chris@101: Chris@101: // BOOST_NO_CXX11_CHAR16_T Chris@101: #if (BOOST_INTEL_CXX_VERSION >= 1400) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40400)) && (!defined(_MSC_VER) || (_MSC_VER >= 9999)) Chris@101: # undef BOOST_NO_CXX11_CHAR16_T Chris@101: #endif Chris@101: Chris@101: // BOOST_NO_CXX11_CHAR32_T Chris@101: #if (BOOST_INTEL_CXX_VERSION >= 1400) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40400)) && (!defined(_MSC_VER) || (_MSC_VER >= 9999)) Chris@101: # undef BOOST_NO_CXX11_CHAR32_T Chris@101: #endif Chris@101: Chris@101: // BOOST_NO_CXX11_DEFAULTED_FUNCTIONS Chris@101: #if (BOOST_INTEL_CXX_VERSION >= 1200) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40400)) && (!defined(_MSC_VER) || (_MSC_FULL_VER >= 180020827)) Chris@101: # undef BOOST_NO_CXX11_DEFAULTED_FUNCTIONS Chris@101: #endif Chris@101: Chris@101: // BOOST_NO_CXX11_DELETED_FUNCTIONS Chris@101: #if (BOOST_INTEL_CXX_VERSION >= 1200) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40400)) && (!defined(_MSC_VER) || (_MSC_FULL_VER >= 180020827)) Chris@101: # undef BOOST_NO_CXX11_DELETED_FUNCTIONS Chris@101: #endif Chris@101: Chris@101: // BOOST_NO_CXX11_HDR_INITIALIZER_LIST Chris@101: #if (BOOST_INTEL_CXX_VERSION >= 1400) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40400)) && (!defined(_MSC_VER) || (_MSC_VER >= 1700)) Chris@101: # undef BOOST_NO_CXX11_HDR_INITIALIZER_LIST Chris@101: #endif Chris@101: Chris@101: // BOOST_NO_CXX11_SCOPED_ENUMS Chris@101: #if (BOOST_INTEL_CXX_VERSION >= 1400) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40501)) && (!defined(_MSC_VER) || (_MSC_VER >= 1700)) Chris@101: // This is available but broken in earlier Intel releases. Chris@101: # undef BOOST_NO_CXX11_SCOPED_ENUMS Chris@101: #endif Chris@101: Chris@101: // BOOST_NO_SFINAE_EXPR Chris@101: #if (BOOST_INTEL_CXX_VERSION >= 1200) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40500)) && (!defined(_MSC_VER) || (_MSC_VER >= 9999)) Chris@101: # undef BOOST_NO_SFINAE_EXPR Chris@101: #endif Chris@101: Chris@101: // BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS Chris@101: #if (BOOST_INTEL_CXX_VERSION >= 1500) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40500)) && (!defined(_MSC_VER) || (_MSC_FULL_VER >= 180020827)) Chris@101: // This is available in earlier Intel releases, but breaks Multiprecision: Chris@101: # undef BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS Chris@101: #endif Chris@101: Chris@101: // BOOST_NO_CXX11_LAMBDAS Chris@101: #if (BOOST_INTEL_CXX_VERSION >= 1200) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40500)) && (!defined(_MSC_VER) || (_MSC_VER >= 1600)) Chris@101: # undef BOOST_NO_CXX11_LAMBDAS Chris@101: #endif Chris@101: Chris@101: // BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS Chris@101: #if (BOOST_INTEL_CXX_VERSION >= 1200) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40500)) Chris@101: # undef BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS Chris@101: #endif Chris@101: Chris@101: // BOOST_NO_CXX11_RANGE_BASED_FOR Chris@101: #if (BOOST_INTEL_CXX_VERSION >= 1400) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40600)) && (!defined(_MSC_VER) || (_MSC_VER >= 1700)) Chris@16: # undef BOOST_NO_CXX11_RANGE_BASED_FOR Chris@101: #endif Chris@101: Chris@101: // BOOST_NO_CXX11_RAW_LITERALS Chris@101: #if (BOOST_INTEL_CXX_VERSION >= 1400) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40500)) && (!defined(_MSC_VER) || (_MSC_FULL_VER >= 180020827)) Chris@101: # undef BOOST_NO_CXX11_RAW_LITERALS Chris@101: #endif Chris@101: Chris@101: // BOOST_NO_CXX11_UNICODE_LITERALS Chris@101: #if (BOOST_INTEL_CXX_VERSION >= 1400) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40500)) && (!defined(_MSC_VER) || (_MSC_VER >= 9999)) Chris@101: # undef BOOST_NO_CXX11_UNICODE_LITERALS Chris@101: #endif Chris@101: Chris@101: // BOOST_NO_CXX11_NOEXCEPT Chris@101: #if (BOOST_INTEL_CXX_VERSION >= 1500) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40600)) && (!defined(_MSC_VER) || (_MSC_VER >= 9999)) Chris@101: // Available in earlier Intel release, but generates errors when used with Chris@101: // conditional exception specifications, for example in multiprecision: Chris@101: # undef BOOST_NO_CXX11_NOEXCEPT Chris@101: #endif Chris@101: Chris@101: // BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX Chris@101: #if (BOOST_INTEL_CXX_VERSION >= 1400) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40600)) && (!defined(_MSC_VER) || (_MSC_VER >= 9999)) Chris@16: # undef BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX Chris@16: #endif Chris@101: Chris@101: // BOOST_NO_CXX11_USER_DEFINED_LITERALS Chris@101: #if (BOOST_INTEL_CXX_VERSION >= 1500) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40700)) && (!defined(_MSC_VER) || (_MSC_FULL_VER >= 190021730)) Chris@101: # undef BOOST_NO_CXX11_USER_DEFINED_LITERALS Chris@16: #endif Chris@101: Chris@101: // BOOST_NO_CXX11_ALIGNAS Chris@101: #if (BOOST_INTEL_CXX_VERSION >= 1500) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40800)) && (!defined(_MSC_VER) || (_MSC_FULL_VER >= 190021730)) Chris@101: # undef BOOST_NO_CXX11_ALIGNAS Chris@16: #endif Chris@16: Chris@101: // BOOST_NO_CXX11_TRAILING_RESULT_TYPES Chris@101: #if (BOOST_INTEL_CXX_VERSION >= 1200) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40400)) && (!defined(_MSC_VER) || (_MSC_FULL_VER >= 180020827)) Chris@101: # undef BOOST_NO_CXX11_TRAILING_RESULT_TYPES Chris@101: #endif Chris@101: Chris@101: // BOOST_NO_CXX11_INLINE_NAMESPACES Chris@101: #if (BOOST_INTEL_CXX_VERSION >= 1400) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40400)) && (!defined(_MSC_VER) || (_MSC_FULL_VER >= 190021730)) Chris@101: # undef BOOST_NO_CXX11_INLINE_NAMESPACES Chris@101: #endif Chris@101: Chris@101: // BOOST_NO_CXX11_REF_QUALIFIERS Chris@101: #if (BOOST_INTEL_CXX_VERSION >= 1400) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40800)) && (!defined(_MSC_VER) || (_MSC_FULL_VER >= 190021730)) Chris@101: # undef BOOST_NO_CXX11_REF_QUALIFIERS Chris@101: #endif Chris@101: Chris@101: // BOOST_NO_CXX11_FINAL Chris@101: #if (BOOST_INTEL_CXX_VERSION >= 1400) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40700)) && (!defined(_MSC_VER) || (_MSC_VER >= 1700)) Chris@101: # undef BOOST_NO_CXX11_FINAL Chris@101: #endif Chris@101: Chris@101: #endif Chris@101: Chris@101: // Chris@101: // Broken in all versions up to 15: Chris@101: #define BOOST_NO_CXX11_FIXED_LENGTH_VARIADIC_TEMPLATE_EXPANSION_PACKS Chris@101: Chris@16: #if defined(BOOST_INTEL_STDCXX0X) && (BOOST_INTEL_CXX_VERSION <= 1310) Chris@16: # define BOOST_NO_CXX11_HDR_FUTURE Chris@16: # define BOOST_NO_CXX11_HDR_INITIALIZER_LIST Chris@16: #endif Chris@16: Chris@16: #if defined(BOOST_INTEL_STDCXX0X) && (BOOST_INTEL_CXX_VERSION == 1400) Chris@16: // A regression in Intel's compiler means that seems to be broken in this release as well as : Chris@16: # define BOOST_NO_CXX11_HDR_FUTURE Chris@16: # define BOOST_NO_CXX11_HDR_TUPLE Chris@16: #endif Chris@16: Chris@16: #if (BOOST_INTEL_CXX_VERSION < 1200) Chris@16: // Chris@16: // fenv.h appears not to work with Intel prior to 12.0: Chris@16: // Chris@16: # define BOOST_NO_FENV_H Chris@16: #endif Chris@16: Chris@101: // Intel 13.10 fails to access defaulted functions of a base class declared in private or protected sections, Chris@101: // producing the following errors: Chris@101: // error #453: protected function "..." (declared at ...") is not accessible through a "..." pointer or object Chris@101: #if (BOOST_INTEL_CXX_VERSION <= 1310) Chris@101: # define BOOST_NO_CXX11_NON_PUBLIC_DEFAULTED_FUNCTIONS Chris@101: #endif Chris@101: Chris@16: #if defined(_MSC_VER) && (_MSC_VER >= 1600) Chris@16: # define BOOST_HAS_STDINT_H Chris@16: #endif Chris@16: Chris@101: #if defined(__LP64__) && defined(__GNUC__) && (BOOST_INTEL_CXX_VERSION >= 1310) && !defined(__CUDACC__) Chris@16: # define BOOST_HAS_INT128 Chris@16: #endif Chris@16: Chris@16: // Chris@16: // last known and checked version: Chris@16: #if (BOOST_INTEL_CXX_VERSION > 1310) Chris@16: # if defined(BOOST_ASSERT_CONFIG) Chris@16: # error "Unknown compiler version - please run the configure tests and report the results" Chris@16: # elif defined(_MSC_VER) Chris@16: // Chris@16: // We don't emit this warning any more, since we have so few Chris@16: // defect macros set anyway (just the one). Chris@16: // Chris@16: //# pragma message("Unknown compiler version - please run the configure tests and report the results") Chris@16: # endif Chris@16: #endif Chris@16: