Hi!

The -Wzero-as-null-pointer-constant warning seems to have special
handling in manywarnings.  I'm not sure how to best deal with the
situation below?  It seems somehow manywarnings.m4 is adding
-Wzero-as-null-pointer-constant even though it shouldn't, for this
particular (mingw-cross-)compiler?  The -Werror part is just exposing
the problem, I don't think -Wzero-as-null-pointer-constant should be
added in this situation in the first place?

cc1: error: command-line option '-Wzero-as-null-pointer-constant' is valid for 
C++/ObjC++ but not for C [-Werror]

https://gitlab.com/libidn/libidn/-/jobs/17647596942

The compiler is x86_64-w64-mingw32-gcc from Debian 13 trixie mingw-w64.

/Simon

Attachment: signature.asc
Description: PGP signature

Reply via email to