From 1f2864b3aeaea6ef1178eaa157a4e0be0c658b1c Mon Sep 17 00:00:00 2001 From: "K. Noel Belcourt" Date: Thu, 24 Apr 2008 23:05:16 +0000 Subject: [PATCH] Added no two phase name lookup for intel-darwin compilers. [SVN r44758] --- include/boost/config/compiler/intel.hpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/boost/config/compiler/intel.hpp b/include/boost/config/compiler/intel.hpp index d639f9a5..3f044ebb 100644 --- a/include/boost/config/compiler/intel.hpp +++ b/include/boost/config/compiler/intel.hpp @@ -146,6 +146,12 @@ template<> struct assert_intrinsic_wchar_t {}; #if BOOST_INTEL_CXX_VERSION < 500 # error "Compiler not supported or configured - please reconfigure" #endif + +// Intel on MacOS requires +#if defined(__APPLE__) && defined(__INTEL_COMPILER) +# define BOOST_NO_TWO_PHASE_NAME_LOOKUP +#endif + // // last known and checked version: #if (BOOST_INTEL_CXX_VERSION > 1010)