|
Boost : |
Subject: Re: [boost] Boost and clang under Windows
From: John Maddock (john_at_[hidden])
Date: 2013-09-29 14:03:32
> 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.
John.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk