[cfe-commits] r140009 - lib/Frontend/CompilerInvocation.cpp

Bob Wilson bob.wilson at apple.com
Wed Oct 5 10:58:38 PDT 2011


I just noticed this change:

r140009 | fpichet | 2011-09-18 22:15:54 -0700 (Sun, 18 Sep 2011) | 1 line

Do not use builtin includes if -fms-compatibility is specified. Some MSVC header files have the same name as clang's builtins, this creates clash.

Are you sure this is the right thing to do?  If none of the clang-specific header files are available, that means that things like the AVX/SSE intrinsics will not be available.  What about clang's version of tgmath.h?  Etc.  What MSVC header files caused a clash and what was the problem with that clash?

More information about the cfe-commits mailing list