rnk added a comment.

I'd like clang to work out of the box with mingw-w64 releases from at least the 
past year. You're mostly interested in the non-builtin parts of 
-fms-extensions, like declspec and UUID, right? One way we could do this is to 
enable -fms-extensions in mingw but then suppress the builtins in that 
environment, or have some other flag to enable them.

You can then change the mingw headers to use 
`__has_builtin(_InterlockedCompareExchange)` to provide compatibility with 
either mode.


http://reviews.llvm.org/D14180



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to