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

Reid Kleckner via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 1 09:45:04 PST 2015


rnk added a comment.

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

> I tried testing __has_builtin(_InterlockedCompareExchangeAdd) as it seem to not exist even when -fms-extensions is passed
>  Is this a bug or it is intended ?


Neither Clang nor MSDN have anything by that name. Do you mean _InterlockedExchangeAdd? __has_builtin should find that.


http://reviews.llvm.org/D14180





More information about the cfe-commits mailing list