29 Sep
2013
29 Sep
'13
7:27 p.m.
On 9/29/2013 2:03 PM, John Maddock wrote:
The Boost header files have numerous places where testing the macro _MSC_VER produces slightly different behavior based on the fact that the code is being used by VC++ or a compiler with the same behavior as VC++. But clang does not have the same behavior as VC++ despite defining _MSC_VER.
That shouldn't really be happening - the code should check for BOOST_MSVC if it really want's "real" msvc and _MSC_VER just for things like #pragma once where some simple form of msvc emulation is required.
My OP was because it is indeed happening. And even in type traits <g>.