|
Boost Users : |
From: David Abrahams (dave_at_[hidden])
Date: 2005-08-04 19:43:32
Douglas Gregor <doug.gregor_at_[hidden]> writes:
> 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
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net