1 // (C) Copyright John Maddock 2001-8.
2 // (C) Copyright Peter Dimov 2001.
3 // (C) Copyright Jens Maurer 2001.
4 // (C) Copyright David Abrahams 2002 - 2003.
5 // (C) Copyright Aleksey Gurtovoy 2002 - 2003.
6 // (C) Copyright Guillaume Melquiond 2002 - 2003.
7 // (C) Copyright Beman Dawes 2003.
8 // (C) Copyright Martin Wille 2003.
9 // Use, modification and distribution are subject to the
10 // Boost Software License, Version 1.0. (See accompanying file
11 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
13 // See http://www.boost.org for most recent version.
15 // Intel compiler setup:
17 #if defined(__INTEL_COMPILER) && (__INTEL_COMPILER >= 1500) && (defined(_MSC_VER) || defined(__GNUC__))
21 #include <boost/config/compiler/visualc.hpp>
24 #undef BOOST_MSVC_FULL_VER
26 #if (__INTEL_COMPILER >= 1500) && (_MSC_VER >= 1900)
28 // These appear to be supported, even though VC++ may not support them:
30 #define BOOST_HAS_EXPM1
31 #define BOOST_HAS_LOG1P
32 #undef BOOST_NO_CXX14_BINARY_LITERALS
33 // This one may be a little risky to enable??
34 #undef BOOST_NO_SFINAE_EXPR
38 #if (__INTEL_COMPILER <= 1600) && !defined(BOOST_NO_CXX14_VARIABLE_TEMPLATES)
39 # define BOOST_NO_CXX14_VARIABLE_TEMPLATES
42 #else // defined(_MSC_VER)
44 #include <boost/config/compiler/gcc.hpp>
46 #undef BOOST_GCC_VERSION
47 #undef BOOST_GCC_CXX11
50 // Broken in all versions up to 17 (newer versions not tested)
51 #if (__INTEL_COMPILER <= 1700) && !defined(BOOST_NO_CXX14_CONSTEXPR)
52 # define BOOST_NO_CXX14_CONSTEXPR
55 #endif // defined(_MSC_VER)
59 #if defined(__INTEL_COMPILER)
60 #if __INTEL_COMPILER == 9999
61 # define BOOST_INTEL_CXX_VERSION 1200 // Intel bug in 12.1.
63 # define BOOST_INTEL_CXX_VERSION __INTEL_COMPILER
66 # define BOOST_INTEL_CXX_VERSION __ICL
68 # define BOOST_INTEL_CXX_VERSION __ICC
70 # define BOOST_INTEL_CXX_VERSION __ECC
73 // Flags determined by comparing output of 'icpc -dM -E' with and without '-std=c++0x'
74 #if (!(defined(_WIN32) || defined(_WIN64)) && defined(__STDC_HOSTED__) && (__STDC_HOSTED__ && (BOOST_INTEL_CXX_VERSION <= 1200))) || defined(__GXX_EXPERIMENTAL_CPP0X__) || defined(__GXX_EXPERIMENTAL_CXX0X__)
75 # define BOOST_INTEL_STDCXX0X
77 #if defined(_MSC_VER) && (_MSC_VER >= 1600)
78 # define BOOST_INTEL_STDCXX0X
82 # define BOOST_INTEL_GCC_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__)
85 #if !defined(BOOST_COMPILER)
86 # if defined(BOOST_INTEL_STDCXX0X)
87 # define BOOST_COMPILER "Intel C++ C++0x mode version " BOOST_STRINGIZE(BOOST_INTEL_CXX_VERSION)
89 # define BOOST_COMPILER "Intel C++ version " BOOST_STRINGIZE(BOOST_INTEL_CXX_VERSION)
93 #define BOOST_INTEL BOOST_INTEL_CXX_VERSION
95 #if defined(_WIN32) || defined(_WIN64)
96 # define BOOST_INTEL_WIN BOOST_INTEL
98 # define BOOST_INTEL_LINUX BOOST_INTEL
101 #else // defined(__INTEL_COMPILER) && (__INTEL_COMPILER >= 1500) && (defined(_MSC_VER) || defined(__GNUC__))
103 #include <boost/config/compiler/common_edg.hpp>
105 #if defined(__INTEL_COMPILER)
106 #if __INTEL_COMPILER == 9999
107 # define BOOST_INTEL_CXX_VERSION 1200 // Intel bug in 12.1.
109 # define BOOST_INTEL_CXX_VERSION __INTEL_COMPILER
112 # define BOOST_INTEL_CXX_VERSION __ICL
114 # define BOOST_INTEL_CXX_VERSION __ICC
116 # define BOOST_INTEL_CXX_VERSION __ECC
119 // Flags determined by comparing output of 'icpc -dM -E' with and without '-std=c++0x'
120 #if (!(defined(_WIN32) || defined(_WIN64)) && defined(__STDC_HOSTED__) && (__STDC_HOSTED__ && (BOOST_INTEL_CXX_VERSION <= 1200))) || defined(__GXX_EXPERIMENTAL_CPP0X__) || defined(__GXX_EXPERIMENTAL_CXX0X__)
121 # define BOOST_INTEL_STDCXX0X
123 #if defined(_MSC_VER) && (_MSC_VER >= 1600)
124 # define BOOST_INTEL_STDCXX0X
128 # define BOOST_INTEL_GCC_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__)
131 #if !defined(BOOST_COMPILER)
132 # if defined(BOOST_INTEL_STDCXX0X)
133 # define BOOST_COMPILER "Intel C++ C++0x mode version " BOOST_STRINGIZE(BOOST_INTEL_CXX_VERSION)
135 # define BOOST_COMPILER "Intel C++ version " BOOST_STRINGIZE(BOOST_INTEL_CXX_VERSION)
139 #define BOOST_INTEL BOOST_INTEL_CXX_VERSION
141 #if defined(_WIN32) || defined(_WIN64)
142 # define BOOST_INTEL_WIN BOOST_INTEL
144 # define BOOST_INTEL_LINUX BOOST_INTEL
147 #if (BOOST_INTEL_CXX_VERSION <= 600)
149 # if defined(_MSC_VER) && (_MSC_VER <= 1300) // added check for <= VC 7 (Peter Dimov)
151 // Boost libraries assume strong standard conformance unless otherwise
152 // indicated by a config macro. As configured by Intel, the EDG front-end
153 // requires certain compiler options be set to achieve that strong conformance.
154 // Particularly /Qoption,c,--arg_dep_lookup (reported by Kirk Klobe & Thomas Witt)
155 // and /Zc:wchar_t,forScope. See boost-root/tools/build/intel-win32-tools.jam for
156 // details as they apply to particular versions of the compiler. When the
157 // compiler does not predefine a macro indicating if an option has been set,
158 // this config file simply assumes the option has been set.
159 // Thus BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP will not be defined, even if
160 // the compiler option is not enabled.
162 # define BOOST_NO_SWPRINTF
165 // Void returns, 64 bit integrals don't work when emulating VC 6 (Peter Dimov)
167 # if defined(_MSC_VER) && (_MSC_VER <= 1200)
168 # define BOOST_NO_VOID_RETURNS
169 # define BOOST_NO_INTEGRAL_INT64_T
174 #if (BOOST_INTEL_CXX_VERSION <= 710) && defined(_WIN32)
175 # define BOOST_NO_POINTER_TO_MEMBER_TEMPLATE_PARAMETERS
178 // See http://aspn.activestate.com/ASPN/Mail/Message/boost/1614864
179 #if BOOST_INTEL_CXX_VERSION < 600
180 # define BOOST_NO_INTRINSIC_WCHAR_T
182 // We should test the macro _WCHAR_T_DEFINED to check if the compiler
183 // supports wchar_t natively. *BUT* there is a problem here: the standard
184 // headers define this macro if they typedef wchar_t. Anyway, we're lucky
185 // because they define it without a value, while Intel C++ defines it
186 // to 1. So we can check its value to see if the macro was defined natively
188 // Under UNIX, the situation is exactly the same, but the macro _WCHAR_T
190 # if ((_WCHAR_T_DEFINED + 0) == 0) && ((_WCHAR_T + 0) == 0)
191 # define BOOST_NO_INTRINSIC_WCHAR_T
195 #if defined(__GNUC__) && !defined(BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL)
197 // Figure out when Intel is emulating this gcc bug
198 // (All Intel versions prior to 9.0.26, and versions
199 // later than that if they are set up to emulate gcc 3.2
202 # if ((__GNUC__ == 3) && (__GNUC_MINOR__ <= 2)) || (BOOST_INTEL < 900) || (__INTEL_COMPILER_BUILD_DATE < 20050912)
203 # define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL
206 #if (defined(__GNUC__) && (__GNUC__ < 4)) || (defined(_WIN32) && (BOOST_INTEL_CXX_VERSION <= 1200)) || (BOOST_INTEL_CXX_VERSION <= 1200)
207 // GCC or VC emulation:
208 #define BOOST_NO_TWO_PHASE_NAME_LOOKUP
211 // Verify that we have actually got BOOST_NO_INTRINSIC_WCHAR_T
212 // set correctly, if we don't do this now, we will get errors later
213 // in type_traits code among other things, getting this correct
214 // for the Intel compiler is actually remarkably fragile and tricky:
217 #if defined(BOOST_NO_INTRINSIC_WCHAR_T)
219 template< typename T > struct assert_no_intrinsic_wchar_t;
220 template<> struct assert_no_intrinsic_wchar_t<wchar_t> { typedef void type; };
221 // if you see an error here then you need to unset BOOST_NO_INTRINSIC_WCHAR_T
222 // where it is defined above:
223 typedef assert_no_intrinsic_wchar_t<unsigned short>::type assert_no_intrinsic_wchar_t_;
225 template< typename T > struct assert_intrinsic_wchar_t;
226 template<> struct assert_intrinsic_wchar_t<wchar_t> {};
227 // if you see an error here then define BOOST_NO_INTRINSIC_WCHAR_T on the command line:
228 template<> struct assert_intrinsic_wchar_t<unsigned short> {};
232 #if defined(_MSC_VER) && (_MSC_VER+0 >= 1000)
233 # if _MSC_VER >= 1200
234 # define BOOST_HAS_MS_INT64
236 # define BOOST_NO_SWPRINTF
237 # define BOOST_NO_TWO_PHASE_NAME_LOOKUP
238 #elif defined(_WIN32)
239 # define BOOST_DISABLE_WIN32
242 // I checked version 6.0 build 020312Z, it implements the NRVO.
243 // Correct this as you find out which version of the compiler
244 // implemented the NRVO first. (Daniel Frey)
245 #if (BOOST_INTEL_CXX_VERSION >= 600)
246 # define BOOST_HAS_NRVO
249 // Branch prediction hints
250 // I'm not sure 8.0 was the first version to support these builtins,
251 // update the condition if the version is not accurate. (Andrey Semashev)
252 #if defined(__GNUC__) && BOOST_INTEL_CXX_VERSION >= 800
253 #define BOOST_LIKELY(x) __builtin_expect(x, 1)
254 #define BOOST_UNLIKELY(x) __builtin_expect(x, 0)
258 // __RTTI is the EDG macro
259 // __INTEL_RTTI__ is the Intel macro
260 // __GXX_RTTI is the g++ macro
261 // _CPPRTTI is the MSVC++ macro
262 #if !defined(__RTTI) && !defined(__INTEL_RTTI__) && !defined(__GXX_RTTI) && !defined(_CPPRTTI)
264 #if !defined(BOOST_NO_RTTI)
265 # define BOOST_NO_RTTI
268 // in MS mode, static typeid works even when RTTI is off
269 #if !defined(_MSC_VER) && !defined(BOOST_NO_TYPEID)
270 # define BOOST_NO_TYPEID
277 // we don't support Intel prior to version 6.0:
278 #if BOOST_INTEL_CXX_VERSION < 600
279 # error "Compiler not supported or configured - please reconfigure"
282 // Intel on MacOS requires
283 #if defined(__APPLE__) && defined(__INTEL_COMPILER)
284 # define BOOST_NO_TWO_PHASE_NAME_LOOKUP
287 // Intel on Altix Itanium
288 #if defined(__itanium__) && defined(__INTEL_COMPILER)
289 # define BOOST_NO_TWO_PHASE_NAME_LOOKUP
293 // An attempt to value-initialize a pointer-to-member may trigger an
294 // internal error on Intel <= 11.1 (last checked version), as was
295 // reported by John Maddock, Intel support issue 589832, May 2010.
296 // Moreover, according to test results from Huang-Vista-x86_32_intel,
297 // intel-vc9-win-11.1 may leave a non-POD array uninitialized, in some
298 // cases when it should be value-initialized.
299 // (Niels Dekker, LKEB, May 2010)
300 // Apparently Intel 12.1 (compiler version number 9999 !!) has the same issue (compiler regression).
301 #if defined(__INTEL_COMPILER)
302 # if (__INTEL_COMPILER <= 1110) || (__INTEL_COMPILER == 9999) || (defined(_WIN32) && (__INTEL_COMPILER < 1600))
303 # define BOOST_NO_COMPLETE_VALUE_INITIALIZATION
308 // Dynamic shared object (DSO) and dynamic-link library (DLL) support
310 #if defined(__GNUC__) && (__GNUC__ >= 4)
311 # define BOOST_SYMBOL_EXPORT __attribute__((visibility("default")))
312 # define BOOST_SYMBOL_IMPORT
313 # define BOOST_SYMBOL_VISIBLE __attribute__((visibility("default")))
316 // Type aliasing hint
317 #if defined(__GNUC__) && (BOOST_INTEL_CXX_VERSION >= 1300)
318 # define BOOST_MAY_ALIAS __attribute__((__may_alias__))
323 // For each feature we need to check both the Intel compiler version,
324 // and the version of MSVC or GCC that we are emulating.
325 // See http://software.intel.com/en-us/articles/c0x-features-supported-by-intel-c-compiler/
326 // for a list of which features were implemented in which Intel releases.
328 #if defined(BOOST_INTEL_STDCXX0X)
329 // BOOST_NO_CXX11_CONSTEXPR:
330 #if (BOOST_INTEL_CXX_VERSION >= 1500) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40600)) && !defined(_MSC_VER)
331 // Available in earlier Intel versions, but fail our tests:
332 # undef BOOST_NO_CXX11_CONSTEXPR
334 // BOOST_NO_CXX11_NULLPTR:
335 #if (BOOST_INTEL_CXX_VERSION >= 1210) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40600)) && (!defined(_MSC_VER) || (_MSC_VER >= 1600))
336 # undef BOOST_NO_CXX11_NULLPTR
338 // BOOST_NO_CXX11_TEMPLATE_ALIASES
339 #if (BOOST_INTEL_CXX_VERSION >= 1210) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40700)) && (!defined(_MSC_VER) || (_MSC_FULL_VER >= 180020827))
340 # undef BOOST_NO_CXX11_TEMPLATE_ALIASES
343 // BOOST_NO_CXX11_DECLTYPE
344 #if (BOOST_INTEL_CXX_VERSION >= 1200) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40300)) && (!defined(_MSC_VER) || (_MSC_VER >= 1600))
345 # undef BOOST_NO_CXX11_DECLTYPE
348 // BOOST_NO_CXX11_DECLTYPE_N3276
349 #if (BOOST_INTEL_CXX_VERSION >= 1500) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40800)) && (!defined(_MSC_VER) || (_MSC_FULL_VER >= 180020827))
350 # undef BOOST_NO_CXX11_DECLTYPE_N3276
353 // BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS
354 #if (BOOST_INTEL_CXX_VERSION >= 1200) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40300)) && (!defined(_MSC_VER) || (_MSC_FULL_VER >= 180020827))
355 # undef BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS
358 // BOOST_NO_CXX11_RVALUE_REFERENCES
359 #if (BOOST_INTEL_CXX_VERSION >= 1300) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40300)) && (!defined(_MSC_VER) || (_MSC_VER >= 1600))
360 // This is available from earlier Intel versions, but breaks Filesystem and other libraries:
361 # undef BOOST_NO_CXX11_RVALUE_REFERENCES
364 // BOOST_NO_CXX11_STATIC_ASSERT
365 #if (BOOST_INTEL_CXX_VERSION >= 1110) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40300)) && (!defined(_MSC_VER) || (_MSC_VER >= 1600))
366 # undef BOOST_NO_CXX11_STATIC_ASSERT
369 // BOOST_NO_CXX11_VARIADIC_TEMPLATES
370 #if (BOOST_INTEL_CXX_VERSION >= 1200) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40400)) && (!defined(_MSC_VER) || (_MSC_FULL_VER >= 180020827))
371 # undef BOOST_NO_CXX11_VARIADIC_TEMPLATES
374 // BOOST_NO_CXX11_VARIADIC_MACROS
375 #if (BOOST_INTEL_CXX_VERSION >= 1200) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40200)) && (!defined(_MSC_VER) || (_MSC_VER >= 1400))
376 # undef BOOST_NO_CXX11_VARIADIC_MACROS
379 // BOOST_NO_CXX11_AUTO_DECLARATIONS
380 #if (BOOST_INTEL_CXX_VERSION >= 1200) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40400)) && (!defined(_MSC_VER) || (_MSC_VER >= 1600))
381 # undef BOOST_NO_CXX11_AUTO_DECLARATIONS
384 // BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS
385 #if (BOOST_INTEL_CXX_VERSION >= 1200) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40400)) && (!defined(_MSC_VER) || (_MSC_VER >= 1600))
386 # undef BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS
389 // BOOST_NO_CXX11_CHAR16_T
390 #if (BOOST_INTEL_CXX_VERSION >= 1400) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40400)) && (!defined(_MSC_VER) || (_MSC_VER >= 9999))
391 # undef BOOST_NO_CXX11_CHAR16_T
394 // BOOST_NO_CXX11_CHAR32_T
395 #if (BOOST_INTEL_CXX_VERSION >= 1400) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40400)) && (!defined(_MSC_VER) || (_MSC_VER >= 9999))
396 # undef BOOST_NO_CXX11_CHAR32_T
399 // BOOST_NO_CXX11_DEFAULTED_FUNCTIONS
400 #if (BOOST_INTEL_CXX_VERSION >= 1200) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40400)) && (!defined(_MSC_VER) || (_MSC_FULL_VER >= 180020827))
401 # undef BOOST_NO_CXX11_DEFAULTED_FUNCTIONS
404 // BOOST_NO_CXX11_DELETED_FUNCTIONS
405 #if (BOOST_INTEL_CXX_VERSION >= 1200) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40400)) && (!defined(_MSC_VER) || (_MSC_FULL_VER >= 180020827))
406 # undef BOOST_NO_CXX11_DELETED_FUNCTIONS
409 // BOOST_NO_CXX11_HDR_INITIALIZER_LIST
410 #if (BOOST_INTEL_CXX_VERSION >= 1400) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40400)) && (!defined(_MSC_VER) || (_MSC_VER >= 1700))
411 # undef BOOST_NO_CXX11_HDR_INITIALIZER_LIST
414 // BOOST_NO_CXX11_SCOPED_ENUMS
415 #if (BOOST_INTEL_CXX_VERSION >= 1400) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40501)) && (!defined(_MSC_VER) || (_MSC_VER >= 1700))
416 // This is available but broken in earlier Intel releases.
417 # undef BOOST_NO_CXX11_SCOPED_ENUMS
420 // BOOST_NO_SFINAE_EXPR
421 #if (BOOST_INTEL_CXX_VERSION >= 1200) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40500)) && (!defined(_MSC_VER) || (_MSC_VER >= 9999))
422 # undef BOOST_NO_SFINAE_EXPR
425 // BOOST_NO_CXX11_SFINAE_EXPR
426 #if (BOOST_INTEL_CXX_VERSION >= 1500) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40800)) && !defined(_MSC_VER)
427 # undef BOOST_NO_CXX11_SFINAE_EXPR
430 // BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS
431 #if (BOOST_INTEL_CXX_VERSION >= 1500) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40500)) && (!defined(_MSC_VER) || (_MSC_FULL_VER >= 180020827))
432 // This is available in earlier Intel releases, but breaks Multiprecision:
433 # undef BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS
436 // BOOST_NO_CXX11_LAMBDAS
437 #if (BOOST_INTEL_CXX_VERSION >= 1200) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40500)) && (!defined(_MSC_VER) || (_MSC_VER >= 1600))
438 # undef BOOST_NO_CXX11_LAMBDAS
441 // BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS
442 #if (BOOST_INTEL_CXX_VERSION >= 1200) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40500))
443 # undef BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS
446 // BOOST_NO_CXX11_RANGE_BASED_FOR
447 #if (BOOST_INTEL_CXX_VERSION >= 1400) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40600)) && (!defined(_MSC_VER) || (_MSC_VER >= 1700))
448 # undef BOOST_NO_CXX11_RANGE_BASED_FOR
451 // BOOST_NO_CXX11_RAW_LITERALS
452 #if (BOOST_INTEL_CXX_VERSION >= 1400) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40500)) && (!defined(_MSC_VER) || (_MSC_FULL_VER >= 180020827))
453 # undef BOOST_NO_CXX11_RAW_LITERALS
456 // BOOST_NO_CXX11_UNICODE_LITERALS
457 #if (BOOST_INTEL_CXX_VERSION >= 1400) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40500)) && (!defined(_MSC_VER) || (_MSC_VER >= 9999))
458 # undef BOOST_NO_CXX11_UNICODE_LITERALS
461 // BOOST_NO_CXX11_NOEXCEPT
462 #if (BOOST_INTEL_CXX_VERSION >= 1500) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40600)) && (!defined(_MSC_VER) || (_MSC_VER >= 9999))
463 // Available in earlier Intel release, but generates errors when used with
464 // conditional exception specifications, for example in multiprecision:
465 # undef BOOST_NO_CXX11_NOEXCEPT
468 // BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX
469 #if (BOOST_INTEL_CXX_VERSION >= 1400) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40600)) && (!defined(_MSC_VER) || (_MSC_VER >= 9999))
470 # undef BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX
473 // BOOST_NO_CXX11_USER_DEFINED_LITERALS
474 #if (BOOST_INTEL_CXX_VERSION >= 1500) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40700)) && (!defined(_MSC_VER) || (_MSC_FULL_VER >= 190021730))
475 # undef BOOST_NO_CXX11_USER_DEFINED_LITERALS
478 // BOOST_NO_CXX11_ALIGNAS
479 #if (BOOST_INTEL_CXX_VERSION >= 1500) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40800)) && (!defined(_MSC_VER) || (_MSC_FULL_VER >= 190021730))
480 # undef BOOST_NO_CXX11_ALIGNAS
483 // BOOST_NO_CXX11_TRAILING_RESULT_TYPES
484 #if (BOOST_INTEL_CXX_VERSION >= 1200) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40400)) && (!defined(_MSC_VER) || (_MSC_FULL_VER >= 180020827))
485 # undef BOOST_NO_CXX11_TRAILING_RESULT_TYPES
488 // BOOST_NO_CXX11_INLINE_NAMESPACES
489 #if (BOOST_INTEL_CXX_VERSION >= 1400) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40400)) && (!defined(_MSC_VER) || (_MSC_FULL_VER >= 190021730))
490 # undef BOOST_NO_CXX11_INLINE_NAMESPACES
493 // BOOST_NO_CXX11_REF_QUALIFIERS
494 #if (BOOST_INTEL_CXX_VERSION >= 1400) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40800)) && (!defined(_MSC_VER) || (_MSC_FULL_VER >= 190021730))
495 # undef BOOST_NO_CXX11_REF_QUALIFIERS
498 // BOOST_NO_CXX11_FINAL
499 #if (BOOST_INTEL_CXX_VERSION >= 1400) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40700)) && (!defined(_MSC_VER) || (_MSC_VER >= 1700))
500 # undef BOOST_NO_CXX11_FINAL
503 #endif // defined(BOOST_INTEL_STDCXX0X)
506 // Broken in all versions up to 15:
507 #define BOOST_NO_CXX11_FIXED_LENGTH_VARIADIC_TEMPLATE_EXPANSION_PACKS
509 #if defined(BOOST_INTEL_STDCXX0X) && (BOOST_INTEL_CXX_VERSION <= 1310)
510 # define BOOST_NO_CXX11_HDR_FUTURE
511 # define BOOST_NO_CXX11_HDR_INITIALIZER_LIST
514 #if defined(BOOST_INTEL_STDCXX0X) && (BOOST_INTEL_CXX_VERSION == 1400)
515 // A regression in Intel's compiler means that <tuple> seems to be broken in this release as well as <future> :
516 # define BOOST_NO_CXX11_HDR_FUTURE
517 # define BOOST_NO_CXX11_HDR_TUPLE
520 #if (BOOST_INTEL_CXX_VERSION < 1200)
522 // fenv.h appears not to work with Intel prior to 12.0:
524 # define BOOST_NO_FENV_H
527 // Intel 13.10 fails to access defaulted functions of a base class declared in private or protected sections,
528 // producing the following errors:
529 // error #453: protected function "..." (declared at ...") is not accessible through a "..." pointer or object
530 #if (BOOST_INTEL_CXX_VERSION <= 1310)
531 # define BOOST_NO_CXX11_NON_PUBLIC_DEFAULTED_FUNCTIONS
534 #if defined(_MSC_VER) && (_MSC_VER >= 1600)
535 # define BOOST_HAS_STDINT_H
538 #if defined(__CUDACC__)
539 # if defined(BOOST_GCC_CXX11)
540 # define BOOST_NVCC_CXX11
542 # define BOOST_NVCC_CXX03
546 #if defined(__LP64__) && defined(__GNUC__) && (BOOST_INTEL_CXX_VERSION >= 1310) && !defined(BOOST_NVCC_CXX03)
547 # define BOOST_HAS_INT128
550 #endif // defined(__INTEL_COMPILER) && (__INTEL_COMPILER >= 1500) && (defined(_MSC_VER) || defined(__GNUC__))
552 // last known and checked version:
553 #if (BOOST_INTEL_CXX_VERSION > 1700)
554 # if defined(BOOST_ASSERT_CONFIG)
555 # error "Boost.Config is older than your compiler - please check for an updated Boost release."
556 # elif defined(_MSC_VER)
558 // We don't emit this warning any more, since we have so few
559 // defect macros set anyway (just the one).
561 //# pragma message("Unknown compiler version - please run the configure tests and report the results")