Re: Warnings in count-one-bits.h

2020-05-27 Thread Bruno Haible
[Please keep the mailing list in CC.] Gisle Vanem wrote: > > What is this clang-cl compiler? Is it disguising itself as _MSC_VER ? > > Yes. "clang-cl == clang --driver-mode=cl". I see. And, like for the GCC disguise, probably this disguise is not perfect either... Let's hope that it works for th

Re: Warnings in count-one-bits.h

2020-05-26 Thread Bruno Haible
Gisle Vanem wrote: > The lines in count-one-bits.h: > # pragma intrinsic __cpuid > # pragma intrinsic __popcnt > # pragma intrinsic __popcnt64 > > triggers these warnings: >count-one-bits.h(79): warning C4083: expected '('; found identifier > '__cpuid' >count-one-bits.h(80): warning C4

Warnings in count-one-bits.h

2020-05-26 Thread Gisle Vanem
The lines in count-one-bits.h: # pragma intrinsic __cpuid # pragma intrinsic __popcnt # pragma intrinsic __popcnt64 triggers these warnings: count-one-bits.h(79): warning C4083: expected '('; found identifier '__cpuid' count-one-bits.h(80): warning C4083: expected '('; found identifier '