diff options
Diffstat (limited to 'boost/config/compiler/intel.hpp')
-rw-r--r-- | boost/config/compiler/intel.hpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/boost/config/compiler/intel.hpp b/boost/config/compiler/intel.hpp index f55189a0ab..00396b03de 100644 --- a/boost/config/compiler/intel.hpp +++ b/boost/config/compiler/intel.hpp @@ -311,6 +311,12 @@ template<> struct assert_intrinsic_wchar_t<unsigned short> {}; # define BOOST_SYMBOL_IMPORT # define BOOST_SYMBOL_VISIBLE __attribute__((visibility("default"))) #endif + +// Type aliasing hint +#if defined(__GNUC__) && (BOOST_INTEL_CXX_VERSION >= 1300) +# define BOOST_MAY_ALIAS __attribute__((__may_alias__)) +#endif + // // C++0x features // For each feature we need to check both the Intel compiler version, @@ -545,7 +551,7 @@ template<> struct assert_intrinsic_wchar_t<unsigned short> {}; // last known and checked version: #if (BOOST_INTEL_CXX_VERSION > 1700) # if defined(BOOST_ASSERT_CONFIG) -# error "Unknown compiler version - please run the configure tests and report the results" +# error "Boost.Config is older than your compiler - please check for an updated Boost release." # elif defined(_MSC_VER) // // We don't emit this warning any more, since we have so few |