Hi!

On Fedora Linux with gcc 16.2.1, building the tools (build.sh tools) for the netbsd-11 branch fails in texinfo, which is still built with the host compiler.

The errors are all around function prototypes, like this:

/home/bsiegert/src/NetBSD-src/tools/texinfo/../../external/gpl2/texinfo/dist/makeinfo/cmds.c:63:10: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, int)' [-Wincompatible-pointer-types]
   63 |   { ",", cm_accent_cedilla, MAYBE_BRACE_ARGS },
      |          ^~~~~~~~~~~~~~~~~
/home/bsiegert/src/NetBSD-src/tools/texinfo/../../external/gpl2/texinfo/dist/makeinfo/cmds.c:63:10: note: (near initialization for 'command_table[7].proc') /home/bsiegert/src/NetBSD-src/tools/texinfo/../../external/gpl2/texinfo/dist/makeinfo/lang.h:143:6: note: 'cm_accent_cedilla' declared here
  143 |      cm_accent_cedilla (int arg, int start, int end),
      |      ^~~~~~~~~~~~~~~~~

There was a fix by oster@ in December 2025, which was pulled up to NetBSD 10 (https://releng.netbsd.org/cgi-bin/req-10.cgi?show=1219) and netbsd-9 but not netbsd-11, as far as I can tell.

I filed https://releng.netbsd.org/cgi-bin/req-11.cgi?show=446, as I imagine this was just an oversight.

--
Benny

Reply via email to