26 Sep
2013
26 Sep
'13
5:47 p.m.
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.