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

Reid Kleckner rnk at google.com
Thu Jul 10 16:22:19 PDT 2014

On Thu, Jul 10, 2014 at 3:54 PM, Edward Diener <
eldlistmailingz at tropicsoft.com> wrote:

> As Chandler has pointed out, this is a balancing act. We try to avoid
>> adding nonconforming changes to the compiler simply to be bug-for-bug
>> compatible with another compiler. But we don't shy away from adding
>> them when there are valid reasons to do so. This particular
>> compatibility piece is in place in order to migrate code using MSVC
>> 2012's <type_traits> header. We add others to be compatible with gcc
>> from time to time as well.
> Would you please point out to me what in the VC12 <type_traits> does not
> compile with a standard conforming C++ preprocessor ?

It was the old faux-variadic macros which went away in 2013, I believe.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140710/5ede0f4a/attachment.html>

More information about the cfe-dev mailing list