From e7d7ef5cd5b79eeb78912e0e01509cce3553ed38 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Sun, 4 Sep 2005 16:20:44 +0000 Subject: [PATCH] Merged patches for Intel on linux from main branch. [SVN r30800] --- include/boost/config/compiler/intel.hpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/include/boost/config/compiler/intel.hpp b/include/boost/config/compiler/intel.hpp index 65255776..d47c345a 100644 --- a/include/boost/config/compiler/intel.hpp +++ b/include/boost/config/compiler/intel.hpp @@ -88,6 +88,15 @@ # endif #endif +#if defined(__GNUC__) && !defined(BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL) +// +// Figure out when Intel is emulating this gcc bug: +// +# if ((__GNUC__ == 3) && (__GNUC_MINOR__ <= 2)) || (BOOST_INTEL <= 900) +# define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL +# endif +#endif + // // Verify that we have actually got BOOST_NO_INTRINSIC_WCHAR_T // set correctly, if we don't do this now, we will get errors later