Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #include "boost/config/compiler/common_edg.hpp"
00018
00019 #if defined(__INTEL_COMPILER)
00020 # define BOOST_INTEL_CXX_VERSION __INTEL_COMPILER
00021 #elif defined(__ICL)
00022 # define BOOST_INTEL_CXX_VERSION __ICL
00023 #elif defined(__ICC)
00024 # define BOOST_INTEL_CXX_VERSION __ICC
00025 #elif defined(__ECC)
00026 # define BOOST_INTEL_CXX_VERSION __ECC
00027 #endif
00028
00029 #define BOOST_COMPILER "Intel C++ version " BOOST_STRINGIZE(BOOST_INTEL_CXX_VERSION)
00030 #define BOOST_INTEL BOOST_INTEL_CXX_VERSION
00031
00032 #if defined(_WIN32) || defined(_WIN64)
00033 # define BOOST_INTEL_WIN BOOST_INTEL
00034 #else
00035 # define BOOST_INTEL_LINUX BOOST_INTEL
00036 #endif
00037
00038 #if (BOOST_INTEL_CXX_VERSION <= 500) && defined(_MSC_VER)
00039 # define BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS
00040 # define BOOST_NO_TEMPLATE_TEMPLATES
00041 #endif
00042
00043 #if (BOOST_INTEL_CXX_VERSION <= 600)
00044
00045 # if defined(_MSC_VER) && (_MSC_VER <= 1300) // added check for <= VC 7 (Peter Dimov)
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058 # define BOOST_NO_SWPRINTF
00059 # endif
00060
00061
00062
00063 # if defined(_MSC_VER) && (_MSC_VER <= 1200)
00064 # define BOOST_NO_VOID_RETURNS
00065 # define BOOST_NO_INTEGRAL_INT64_T
00066 # endif
00067
00068 #endif
00069
00070 #if (BOOST_INTEL_CXX_VERSION <= 710) && defined(_WIN32)
00071 # define BOOST_NO_POINTER_TO_MEMBER_TEMPLATE_PARAMETERS
00072 #endif
00073
00074
00075 #if BOOST_INTEL_CXX_VERSION < 600
00076 # define BOOST_NO_INTRINSIC_WCHAR_T
00077 #else
00078
00079
00080
00081
00082
00083
00084
00085
00086 # if ((_WCHAR_T_DEFINED + 0) == 0) && ((_WCHAR_T + 0) == 0)
00087 # define BOOST_NO_INTRINSIC_WCHAR_T
00088 # endif
00089 #endif
00090
00091 #if defined(__GNUC__) && !defined(BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL)
00092
00093
00094
00095
00096
00097
00098 # if ((__GNUC__ == 3) && (__GNUC_MINOR__ <= 2)) || (BOOST_INTEL < 900) || (__INTEL_COMPILER_BUILD_DATE < 20050912)
00099 # define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL
00100 # endif
00101 #endif
00102 #if (defined(__GNUC__) && (__GNUC__ < 4)) || defined(_WIN32) || (BOOST_INTEL_CXX_VERSION <= 1100)
00103
00104 #define BOOST_NO_TWO_PHASE_NAME_LOOKUP
00105 #endif
00106
00107
00108
00109
00110
00111
00112 #if defined(BOOST_NO_INTRINSIC_WCHAR_T)
00113 #include <cwchar>
00114 template< typename T > struct assert_no_intrinsic_wchar_t;
00115 template<> struct assert_no_intrinsic_wchar_t<wchar_t> { typedef void type; };
00116
00117
00118 typedef assert_no_intrinsic_wchar_t<unsigned short>::type assert_no_intrinsic_wchar_t_;
00119 #else
00120 template< typename T > struct assert_intrinsic_wchar_t;
00121 template<> struct assert_intrinsic_wchar_t<wchar_t> {};
00122
00123 template<> struct assert_intrinsic_wchar_t<unsigned short> {};
00124 #endif
00125
00126 #if _MSC_VER+0 >= 1000
00127 # if _MSC_VER >= 1200
00128 # define BOOST_HAS_MS_INT64
00129 # endif
00130 # define BOOST_NO_SWPRINTF
00131 # define BOOST_NO_TWO_PHASE_NAME_LOOKUP
00132 #elif defined(_WIN32)
00133 # define BOOST_DISABLE_WIN32
00134 #endif
00135
00136
00137
00138
00139 #if (BOOST_INTEL_CXX_VERSION >= 600)
00140 # define BOOST_HAS_NRVO
00141 #endif
00142
00143
00144
00145
00146 #if BOOST_INTEL_CXX_VERSION < 500
00147 # error "Compiler not supported or configured - please reconfigure"
00148 #endif
00149
00150
00151 #if defined(__APPLE__) && defined(__INTEL_COMPILER)
00152 # define BOOST_NO_TWO_PHASE_NAME_LOOKUP
00153 #endif
00154
00155
00156 #if defined(__itanium__) && defined(__INTEL_COMPILER)
00157 # define BOOST_NO_TWO_PHASE_NAME_LOOKUP
00158 #endif
00159
00160
00161
00162
00163
00164
00165 #define BOOST_NO_CHAR16_T
00166 #define BOOST_NO_CHAR32_T
00167 #define BOOST_NO_CONSTEXPR
00168 #define BOOST_NO_DECLTYPE
00169 #define BOOST_NO_DEFAULTED_FUNCTIONS
00170 #define BOOST_NO_DELETED_FUNCTIONS
00171 #define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS
00172 #define BOOST_NO_EXTERN_TEMPLATE
00173 #define BOOST_NO_RAW_LITERALS
00174 #define BOOST_NO_RVALUE_REFERENCES
00175 #define BOOST_NO_SCOPED_ENUMS
00176 #define BOOST_NO_STATIC_ASSERT
00177 #define BOOST_NO_UNICODE_LITERALS
00178 #define BOOST_NO_VARIADIC_TEMPLATES
00179 #define BOOST_NO_AUTO_DECLARATIONS
00180 #define BOOST_NO_AUTO_MULTIDECLARATIONS
00181
00182
00183
00184 #if (BOOST_INTEL_CXX_VERSION > 1100)
00185 # if defined(BOOST_ASSERT_CONFIG)
00186 # error "Unknown compiler version - please run the configure tests and report the results"
00187 # elif defined(_MSC_VER)
00188
00189
00190
00191
00192
00193 # endif
00194 #endif
00195