Re: New clang-cl warnings

2017-05-12 Thread Gisle Vanem
Bruno Haible wrote: You seem to be doing a native Windows compilation with the MSVC include files and a non-Microsoft compiler [1]. This is not the among usual tested combinations; good luck with this adventure :) clang-cl is just gcc 4.x in disguise AFAICS. I love clang-cl; it's what gcc/cl

Re: New clang-cl warnings

2017-05-12 Thread Bruno Haible
Gisle Vanem wrote: > I'm not sure exactly when or how these new warnings from > clang-cl happened (a lot of them): > >f:/ProgramFiler-x86/WindowsKits/Include/10.0.15063.0/ucrt/stdlib.h(78,5): > warning: macro expansion producing 'defined' has undefined behavior > [-Wexpansion-to-defi

New clang-cl warnings

2017-05-12 Thread Gisle Vanem
I'm not sure exactly when or how these new warnings from clang-cl happened (a lot of them): f:/ProgramFiler-x86/WindowsKits/Include/10.0.15063.0/ucrt/stdlib.h(78,5): warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if _CRT_INTERNAL_NONSTDC_