00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #include "sysc/packages/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 # if ((__GNUC__ == 3) && (__GNUC_MINOR__ <= 2)) || (BOOST_INTEL <= 900)
00096 # define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL
00097 # endif
00098 #endif
00099
00100
00101
00102
00103
00104
00105
00106 #if defined(BOOST_NO_INTRINSIC_WCHAR_T)
00107 #include <cwchar>
00108 template< typename T > struct assert_no_intrinsic_wchar_t;
00109 template<> struct assert_no_intrinsic_wchar_t<wchar_t> { typedef void type; };
00110
00111
00112 typedef assert_no_intrinsic_wchar_t<unsigned short>::type assert_no_intrinsic_wchar_t_;
00113 #else
00114 template< typename T > struct assert_intrinsic_wchar_t;
00115 template<> struct assert_intrinsic_wchar_t<wchar_t> {};
00116
00117 template<> struct assert_intrinsic_wchar_t<unsigned short> {};
00118 #endif
00119
00120 #if _MSC_VER+0 >= 1000
00121 # if _MSC_VER >= 1200
00122 # define BOOST_HAS_MS_INT64
00123 # endif
00124 # define BOOST_NO_SWPRINTF
00125 #elif defined(_WIN32)
00126 # define BOOST_DISABLE_WIN32
00127 #endif
00128
00129
00130
00131
00132 #if (BOOST_INTEL_CXX_VERSION >= 600)
00133 # define BOOST_HAS_NRVO
00134 #endif
00135
00136
00137
00138
00139 #if BOOST_INTEL_CXX_VERSION < 500
00140 # error "Compiler not supported or configured - please reconfigure"
00141 #endif
00142
00143
00144 #if (BOOST_INTEL_CXX_VERSION > 900)
00145 # if defined(BOOST_ASSERT_CONFIG)
00146 # error "Unknown compiler version - please run the configure tests and report the results"
00147 # elif defined(_MSC_VER)
00148 # pragma message("Unknown compiler version - please run the configure tests and report the results")
00149 # endif
00150 #endif
00151
00152
00153
00154
00155