Hi Simon, > 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.
Per [1] this is a gcc 14, which indeed supports this option only for C++. You are encountering an issue that is fixed in gnulib commit 9022a57103a974e35e3f077f52ba0531eb5c81fc (2026-07-08), but your package is using the stable branch [2] and therefore does not have this fix. Your options are: - Use the gnulib master branch. Or - Filter out this warning option in your configure.ac. Or - Don't use -Werror. And no, I won't apply this fix to the stable branch now, because it does not satisfy the criteria [3]. Bruno [1] https://packages.debian.org/trixie/gcc-mingw-w64-bootstrap [2] https://gitlab.com/libidn/libidn/-/blob/master/bootstrap.conf?ref_type=heads [3] https://www.gnu.org/software/gnulib/manual/html_node/Stable-Branches.html
