forked from boostorg/config
Add a new config macro BOOST_INTEL
[SVN r18504]
This commit is contained in:
@ -1169,6 +1169,12 @@ user code.</p>
|
||||
Microsoft Visual C++, as opposed to one of the many other
|
||||
compilers that also define _MSC_VER.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">BOOST_INTEL</td>
|
||||
<td valign="top"><boost/config.hpp></td>
|
||||
<td valign="top">Defined if the compiler is an Intel compiler,
|
||||
takes the same value as the compiler version macro.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>BOOST_DINKUMWARE_STDLIB</td>
|
||||
<td><boost/config.hpp></td>
|
||||
|
@ -9,14 +9,19 @@
|
||||
|
||||
#include "boost/config/compiler/common_edg.hpp"
|
||||
|
||||
#ifdef __ICL
|
||||
# define BOOST_COMPILER "Intel C++ version " BOOST_STRINGIZE(__ICL)
|
||||
#if defined(__INTEL_COMPILER)
|
||||
# define BOOST_INTEL_CXX_VERSION __INTEL_COMPILER
|
||||
#elif defined(__ICL)
|
||||
# define BOOST_INTEL_CXX_VERSION __ICL
|
||||
#else
|
||||
# define BOOST_COMPILER "Intel C++ version " BOOST_STRINGIZE(__ICC)
|
||||
#elif defined(__ICC)
|
||||
# define BOOST_INTEL_CXX_VERSION __ICC
|
||||
#elif defined(__ECC)
|
||||
# define BOOST_INTEL_CXX_VERSION __ECC
|
||||
#endif
|
||||
|
||||
#define BOOST_COMPILER "Intel C++ version " BOOST_STRINGIZE(BOOST_INTEL_CXX_VERSION)
|
||||
#define BOOST_INTEL BOOST_INTEL_CXX_VERSION
|
||||
|
||||
#if (BOOST_INTEL_CXX_VERSION <= 500) && defined(_MSC_VER)
|
||||
# define BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS
|
||||
# define BOOST_NO_TEMPLATE_TEMPLATES
|
||||
|
@ -38,7 +38,7 @@
|
||||
// Borland
|
||||
# define BOOST_COMPILER_CONFIG "boost/config/compiler/borland.hpp"
|
||||
|
||||
#elif defined(__ICL) || defined(__ICC)
|
||||
#elif defined(__INTEL_COMPILER) || defined(__ICL) || defined(__ICC) || defined(__ECC)
|
||||
// Intel
|
||||
# define BOOST_COMPILER_CONFIG "boost/config/compiler/intel.hpp"
|
||||
|
||||
|
@ -260,6 +260,7 @@ void print_compiler_macros()
|
||||
// misc compilers not covered so far:
|
||||
PRINT_MACRO(__ICC);
|
||||
PRINT_MACRO(__ICL);
|
||||
PRINT_MACRO(__ECC);
|
||||
PRINT_MACRO(__INTEL_COMPILER);
|
||||
PRINT_MACRO(__USLC__);
|
||||
PRINT_MACRO(__DECCXX);
|
||||
@ -870,6 +871,7 @@ void print_boost_macros()
|
||||
PRINT_MACRO(BOOST_HAS_TWO_ARG_USE_FACET);
|
||||
PRINT_MACRO(BOOST_HAS_UNISTD_H);
|
||||
PRINT_MACRO(BOOST_HAS_WINTHREADS);
|
||||
PRINT_MACRO(BOOST_INTEL);
|
||||
PRINT_MACRO(BOOST_MSVC);
|
||||
PRINT_MACRO(BOOST_MSVC_STD_ITERATOR);
|
||||
PRINT_MACRO(BOOST_MSVC6_MEMBER_TEMPLATES);
|
||||
|
Reference in New Issue
Block a user