Douglas Gregor
On Aug 4, 2005, at 9:29 AM, Stefan Slapeta wrote:
Douglas Gregor wrote:
It appears that the Intel compiler is emulating VC++ 7.1's bugs a bit too well. If you remove the #if BOOST_WORKAROUND from named_slot_map.hpp and named_slot_map.cpp (so that "decrement" and "advance" get defined), it should work.
Maybe it would have been better to replace
#if BOOST_WORKAROUND(BOOST_MSVC, ...
by
#if BOOST_WORKAROUND(_MSC_VER, ...
which is equally defined for Intel and VC.
Yep, you're right.
I think it would be wiser to stick with BOOST_WORKAROUND(BOOST_MSVC, ... ) || BOOST_WORKAROUND(BOOST_INTEL_XXXX, ... ) Because other compilers that do not emulate bugs so well are probably also defining that symbol. -- Dave Abrahams Boost Consulting www.boost-consulting.com