Boost logo

Boost :

Subject: Re: [boost] [build] How to use with clang on windows?
From: Peter Dimov (lists_at_[hidden])
Date: 2016-03-28 07:17:25


Edward Diener wrote:
> I need to know what are the preprocessor defines being set by clang when
> it is in the mode that supports VC++. Is both __clang__ and _MSC_VER
> defined in all cases ?

They are, although I'm not sure whether _MSC_VER is enabled
by -fms-compatibility, or just by -fms-extensions. If the latter, it won't
be possible to reliably detect the former. I also don't know which of those
flags enables the broken preprocessor.


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