[cfe-dev] Clang-cl.exe and the VC++ preprocessor

Daniel James daniel at calamity.org.uk
Thu Jul 10 15:00:43 PDT 2014


On 10 July 2014 21:43, Nico Weber <thakis at chromium.org> wrote:
>> 3) I think we should then make sure we expose macros you can use to detect
>> the bug-for-bug compat mode, and use the (horrible) cl.exe implementations
>> of things like Boost PP, even though the host compiler is Clang.
>
>
> Shouldn't that just be _MSC_VER?

_MSC_VER isn't useful for Boost here as it's also defined by older
versions of clang which don't emulate the preprocessor.



More information about the cfe-dev mailing list