> Date: Fri, 07 Nov 2025 10:57:44 +0200
> From: Eli Zaretskii <[email protected]>
> Cc: [email protected], [email protected], [email protected]
> 
> > 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...

Ping!  Bruno, could you please suggest a solution for the above?

OTOH, if you think this is something for us to solve (since we caused
it by omitting the stdio module), I'm okay with solving it by placing
the necessary glue on nt/inc/ms-w32.h, which is an Emacs specific
header file used in the Windows builds.

TIA

Reply via email to