|
Boost : |
Subject: Re: [boost] Boost and clang under Windows
From: Edward Diener (eldiener_at_[hidden])
Date: 2013-09-29 15:27:05
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>.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk