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