Boost logo

Boost :

Subject: Re: [boost] [clang] How to use CLang for Windows?
From: Beman Dawes (bdawes_at_[hidden])
Date: 2013-09-29 21:13:06


On Sun, Sep 29, 2013 at 8:36 PM, Edward Diener <eldiener_at_[hidden]>wrote:

>
> There are other cases in the Boost header files that assume that when
> _MSC_VER is defined the compiler is VC++ ( see my thread "Boost and clang
> under Windows" ) without checking if it could be another compiler emulating
> VC++.

But that is a mistake. BOOST_MSVC has been the preferred macro to check for
VC++ since September of 2001. Since even before then there have been
non-Microsoft compilers that define _MSC_VER.

--Beman


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