> Date: Thu, 6 Nov 2025 22:12:32 -0800 > Cc: [email protected], [email protected] > From: Paul Eggert <[email protected]> > > On 2025-11-06 17:57, Andy Moreton wrote: > > > That does not silence the warnings, but does bootstrap from a clean > > tree (with a workaround patch for bug#79694). > > Thanks for checking. I'm at a loss as to why you're getting the > warnings; perhaps someone with more MS-Windows expertise can say.
AFAIU, that's because the MinGW build omits the Gnulib stdio module, where the prototypes live. We cannot use the stdio module as-is, because it redefines stuff (such as fopen) we implement in Emacs in an incompatible fashion. Which means we need something to replace those parts of the Gnulib stdio.h header, and do that in a header that will be included by Emacs sources, because otherwise the redirections of fprintf and friends to the gl_consolesafe_* versions will not be in effect, and the stdio-consolesafe module is basically compiled, but never used...
