|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2003-12-03 16:58:28
Jaakko Jarvi <jajarvi_at_[hidden]> writes:
>
>> > # if __GNUC__ == 2 && __GNUC_MINOR__ <= 95
>>
>> The regression tests seem to disagree that 2.95.3 can handle enable_if,
>> and in Function I'm using:
>>
>> #if BOOST_WORKAROUND(__GNUC__, < 3)
>
>> > # if __GNUC__ == 2 && __GNUC_MINOR__ <= 95
>
> This should flag 2.95.3 as BOOST_NO_SFINAE ???
I think these tests are equivalent.
>> > # if (_MSC_VER <= 1300)
>>
>> That's BOOST_MSVC, I hope?
>
> I don't know the etymology of these macros, but _MSC_VER is used
> throughout /boost/boost/config/compiler/visualc.hpp.
> The same file defines BOOST_MSVC as _MSC_VER.
No! _MSC_VER comes from the compiler (and from lots of other
compilers which want to be able to compile the MFC headers). Use
BOOST_MSVC.
-- Dave Abrahams Boost Consulting www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk