On Sun, Oct 15, 2023 at 03:17:17PM +0300, Eli Zaretskii wrote: > > From: Gavin Smith <[email protected]> > > Date: Sun, 15 Oct 2023 12:57:46 +0100 > > Cc: [email protected] > > > > On Sun, Oct 15, 2023 at 12:00:47PM +0300, Eli Zaretskii wrote: > > > Thanks. > > > > > > This doesn't compile with MinGW, because some of the dTHX additions I > > > needed for the previous pretest were not installed(?), and are still > > > missing. The patch I needed is below. > > > > I hadn't installed those changes because I hadn't understood why they > > were necessary. Looking at the code, I expect that it was due to the > > use of fprintf in those functions which the Perl headers must be doing > > something funny with. Presumably you got an error message when compiling > > indicating this? > > I show two such error messages below, I hope it will help you > understand the reason.
Yes, it is 'stderr' that needs dTHX, not the 'fprintf'.
