[PATCH] D14180: enable -fms-extensions by default on the mingw-w64 target

Reid Kleckner via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 3 17:49:25 PST 2015


rnk added a comment.

In http://reviews.llvm.org/D14180#300193, @martell wrote:

> @rnk you are correct.
>  mingw-w64 has been updated accordingly
>  http://sourceforge.net/p/mingw-w64/mingw-w64/ci/61c374ded91a7de66f42f85a9f0cf9ee20/
>
> So where do we go from here ?


Let's disable the _Interlocked* family of builtins when targeting mingw, and then flip this flag here. That way we'll work with old mingw's, and in two years we can enable the builtins in mingw. We'll also let mingw get at the rest of -fms-extensions.


http://reviews.llvm.org/D14180





More information about the cfe-commits mailing list