Texinfo-7.2.91 with mingw.org's MinGW: build

Eli Zaretskii <[email protected]>
Newsgroups gmane.comp.tex.texinfo.bugs,gmane.comp.lib.gnulib.bugs
Message-ID <[email protected]>
> From: Gavin Smith <[email protected]>
> Date: Fri, 6 Feb 2026 17:32:16 +0000
> Cc: [email protected]
> 
> The next pretest distribution for the next Texinfo release (7.3) has been
> uploaded to
> 
> https://alpha.gnu.org/gnu/texinfo/texinfo-7.2.91.tar.xz

Thanks, this builds cleanly with mingw.org's MinGW, with a single
problem in Gnulib's wctype.h.  It is the same problem as in the
previous pretest, since this Gnulib header was not changed.  For the
record, I fixed it locally like this:

--- ./gnulib/lib/wctype.in.h~0	2026-01-17 20:58:09.000000000 +0200
+++ ./gnulib/lib/wctype.in.h	2026-02-08 11:45:40.995181800 +0200
@@ -50,7 +50,7 @@
  #error "Please include config.h first."
 #endif
 
-#if @HAVE_WINT_T@
+#if @HAVE_WINT_T@ && !defined _WCHAR_H
 /* Solaris 2.5 has a bug: <wchar.h> must be included before <wctype.h>.  */
 # include <wchar.h>
 #endif
@@ -59,7 +59,7 @@
    isw* functions in <ctype.h>, <wchar.h> as well as in <wctype.h>.  Include
    <ctype.h>, <wchar.h> in advance to avoid rpl_ prefix being added to the
    declarations.  */
-#if defined _WIN32 && ! defined __CYGWIN__
+#if defined _WIN32 && ! defined __CYGWIN__ && !defined _WCHAR_H
 # include <ctype.h>
 # include <wchar.h>
 #endif
--- ./tta/gnulib/lib/wctype.in.h~0	2026-01-17 20:58:10.000000000 +0200
+++ ./tta/gnulib/lib/wctype.in.h	2026-02-08 11:46:19.450895100 +0200
@@ -50,7 +50,7 @@
  #error "Please include config.h first."
 #endif
 
-#if @HAVE_WINT_T@
+#if @HAVE_WINT_T@ && !defined _WCHAR_H
 /* Solaris 2.5 has a bug: <wchar.h> must be included before <wctype.h>.  */
 # include <wchar.h>
 #endif
@@ -59,7 +59,7 @@
    isw* functions in <ctype.h>, <wchar.h> as well as in <wctype.h>.  Include
    <ctype.h>, <wchar.h> in advance to avoid rpl_ prefix being added to the
    declarations.  */
-#if defined _WIN32 && ! defined __CYGWIN__
+#if defined _WIN32 && ! defined __CYGWIN__ && !defined _WCHAR_H
 # include <ctype.h>
 # include <wchar.h>
 #endif
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.