Boost logo

Boost :

Subject: Re: [boost] "Remove obsolete MSVC checks" and _MSC_VER
From: Peter Dimov (lists_at_[hidden])
Date: 2013-09-26 13:47:01


> Stephen Kelly wrote:
> > If a compiler claims it only supports MSVC6 features (1200), then all
> > use of MSVC > 6 features need to be wrapped in ifdefs, and I can revert
> > everything I've committed so far, right?
>
> Of course not. This compiler is not MSVC6 and BOOST_MSVC is not defined
> for it. No MSVC workarounds are applied (unless by mistake).

To clarify, by "features" I mean MSVC-specific extensions, and not standard
C++ features. The intrinsic _ReadWriteBarrier, for example, first appeared
in MSVC 7.1. A compiler that defines _MSC_VER to 1300 is unlikely to support
it, even if it supports the whole of C++98 or C++03.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk