From c92043496d63e568bce4ada913a9d1ed84e4836c Mon Sep 17 00:00:00 2001 From: John Maddock Date: Tue, 4 Oct 2005 09:37:13 +0000 Subject: [PATCH] Intel have now fixed their ADL lookup bug, so don't enable BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL for the fixed version. [SVN r31190] --- include/boost/config/compiler/intel.hpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/include/boost/config/compiler/intel.hpp b/include/boost/config/compiler/intel.hpp index d47c345a..9d55d80c 100644 --- a/include/boost/config/compiler/intel.hpp +++ b/include/boost/config/compiler/intel.hpp @@ -90,9 +90,12 @@ #if defined(__GNUC__) && !defined(BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL) // -// Figure out when Intel is emulating this gcc bug: +// Figure out when Intel is emulating this gcc bug +// (All Intel versions prior to 9.0.26, and versions +// later than that if they are set up to emulate gcc 3.2 +// or earlier): // -# if ((__GNUC__ == 3) && (__GNUC_MINOR__ <= 2)) || (BOOST_INTEL <= 900) +# if ((__GNUC__ == 3) && (__GNUC_MINOR__ <= 2)) || (BOOST_INTEL < 900) || (__INTEL_COMPILER_BUILD_DATE < 20050912) # define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL # endif #endif