|
Boost : |
From: John Maddock (john_at_[hidden])
Date: 2005-08-22 06:11:55
Based on feedback from Intel, they are intending to emulate a gcc bug, when
the gcc emulation version is 3.2 or less. However there is a bug in Intel 8
and 9 that means the bug emulation is always on, no matter what the gcc
emulation version is. At some point Intel will probably patch this, but in
the mean time can you test the following patch?
Thanks,
John.
Index: boost/config/compiler/intel.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/config/compiler/intel.hpp,v
retrieving revision 1.39
diff -r1.39 intel.hpp
90a91,99
> #if defined(__GNUC__) &&
> !defined(BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAK
S_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
>
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk