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

Ismail Donmez via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 1 10:06:31 PST 2015


Hi,

On Tue, Dec 1, 2015 at 7:45 PM, Reid Kleckner via cfe-commits
<cfe-commits at lists.llvm.org> wrote:
> 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.

MSDN knows about it though:
https://msdn.microsoft.com/en-us/library/windows/desktop/ttk2z1ws(v=vs.85).aspx


More information about the cfe-commits mailing list