| 
									
										
										
										
											2003-10-04 11:29:20 +00:00
										 |  |  | //  (C) Copyright John Maddock 2001. 
 | 
					
						
							|  |  |  | //  (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 
 | 
					
						
							|  |  |  | //  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:
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #include "boost/config/compiler/common_edg.hpp"
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2003-05-23 07:03:21 +00:00
										 |  |  | #if defined(__INTEL_COMPILER)
 | 
					
						
							|  |  |  | #  define BOOST_INTEL_CXX_VERSION __INTEL_COMPILER
 | 
					
						
							|  |  |  | #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
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2003-05-23 07:03:21 +00:00
										 |  |  | #define BOOST_COMPILER "Intel C++ version " BOOST_STRINGIZE(BOOST_INTEL_CXX_VERSION)
 | 
					
						
							|  |  |  | #define BOOST_INTEL BOOST_INTEL_CXX_VERSION
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2001-10-21 11:01:10 +00:00
										 |  |  | #if (BOOST_INTEL_CXX_VERSION <= 500) && defined(_MSC_VER)
 | 
					
						
							|  |  |  | #  define BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS
 | 
					
						
							| 
									
										
										
										
											2002-09-30 05:03:47 +00:00
										 |  |  | #  define BOOST_NO_TEMPLATE_TEMPLATES
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #if (BOOST_INTEL_CXX_VERSION <= 600) || !defined(BOOST_STRICT_CONFIG)
 | 
					
						
							| 
									
										
										
										
											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
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2003-06-01 19:09:09 +00:00
										 |  |  | // See http://aspn.activestate.com/ASPN/Mail/Message/boost/1614864
 | 
					
						
							|  |  |  | #if BOOST_INTEL_CXX_VERSION < 700
 | 
					
						
							|  |  |  | #  define BOOST_NO_INTRINSIC_WCHAR_T
 | 
					
						
							|  |  |  | #else
 | 
					
						
							| 
									
										
										
										
											2003-07-27 01:37:28 +00:00
										 |  |  | // _WCHAR_T_DEFINED is the Win32 spelling
 | 
					
						
							|  |  |  | // _WCHAR_T is the Linux spelling
 | 
					
						
							|  |  |  | #  if !defined(_WCHAR_T_DEFINED) && !defined(_WCHAR_T)
 | 
					
						
							| 
									
										
										
										
											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
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2003-12-15 12:30:32 +00:00
										 |  |  | #if (BOOST_INTEL_CXX_VERSION <= 800) || !defined(BOOST_STRICT_CONFIG)
 | 
					
						
							|  |  |  | #  define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2003-06-01 19:09:09 +00:00
										 |  |  | #if _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
 | 
					
						
							| 
									
										
										
										
											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
										 |  |  | 
 | 
					
						
							|  |  |  | //
 | 
					
						
							|  |  |  | // versions check:
 | 
					
						
							|  |  |  | // we don't support Intel prior to version 5.0:
 | 
					
						
							|  |  |  | #if BOOST_INTEL_CXX_VERSION < 500
 | 
					
						
							|  |  |  | #  error "Compiler not supported or configured - please reconfigure"
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | //
 | 
					
						
							| 
									
										
										
										
											2002-12-23 19:49:22 +00:00
										 |  |  | // last known and checked version:
 | 
					
						
							| 
									
										
										
										
											2003-07-27 01:37:28 +00:00
										 |  |  | #if (BOOST_INTEL_CXX_VERSION > 800)
 | 
					
						
							| 
									
										
										
										
											2001-09-18 11:13:39 +00:00
										 |  |  | #  if defined(BOOST_ASSERT_CONFIG)
 | 
					
						
							|  |  |  | #     error "Unknown compiler version - please run the configure tests and report the results"
 | 
					
						
							|  |  |  | #  elif defined(_MSC_VER)
 | 
					
						
							| 
									
										
										
										
											2002-05-09 11:40:52 +00:00
										 |  |  | #     pragma message("Unknown compiler version - please run the configure tests and report the results")
 | 
					
						
							| 
									
										
										
										
											2001-09-18 11:13:39 +00:00
										 |  |  | #  endif
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2001-10-21 11:01:10 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2001-10-25 11:47:17 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2003-10-04 11:29:20 +00:00
										 |  |  | 
 |