|
Boost : |
Subject: Re: [boost] Moving workaround headers to [config] Was: throw or boost::throw_exception?
From: John Maddock (boost.regex_at_[hidden])
Date: 2014-06-01 04:10:14
>> According to the 1.35.0 test results, Visual C++ 7.1 had _CPPLIB_VER = 313,
>> so I think it's safe to remove workarounds for _CPPLIB_VER < 306.
>
> You should really look at _MSC_VER instead of _CPPLIB_VER which is undocumented and unsupported. (The story is that _CPPLIB_VER is a Dinkumware macro, and Microsoft doesn't promise that we'll always keep it, or remember to update it for each major version. _MSC_VER is the compiler major version macro, which for customers outside Microsoft always corresponds 1:1 to the STL implementation.)
From memory, there were some folks using MSVC with updated Dinkumware
libraries, in which case Boost.Config broke if we checked _MSC_VER.
John.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk