Re: [Mingw-w64-public] [PATCH] intrin-impl.h: Added __popcnt16, __popcnt, and __popcnt64.

2017-02-09 Thread David Wohlferd
On 2/9/2017 3:28 AM, Jacek Caban wrote: > __has_builtin looks like a nice way to fix it. Too bad gcc doesn't see the value in __has_builtin: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66970 dw -- Check out the vibrant

Re: [Mingw-w64-public] [PATCH] intrin-impl.h: Added __popcnt16, __popcnt, and __popcnt64.

2017-02-09 Thread Jacek Caban
Yeah, I think that we should fix clang with -fms-extensions. __has_builtin looks like a nice way to fix it. Jacek On 09.02.2017 01:52, David Grayson wrote: > Ah, from your paste, it looks like mingw-w64 and clang are fighting to > declare a lot of builtins when -fms-extensions is turned on. > > I