Re: Gnulib's wctype.h fails to compile with MinGW

2017-05-01 Thread Eli Zaretskii
> From: Bruno Haible > Cc: gavinsmith0...@gmail.com, bug-gnulib@gnu.org > Date: Mon, 01 May 2017 12:45:08 +0200 > > Eli Zaretskii wrote: > > It turns out the same problem exists in Gnulib's wchar.h, so it needs > > the same solution. Bruno, could you do that, please? > > Done per patch below.

Re: Gnulib's wctype.h fails to compile with MinGW

2017-05-01 Thread Bruno Haible
Eli Zaretskii wrote: > It turns out the same problem exists in Gnulib's wchar.h, so it needs > the same solution. Bruno, could you do that, please? Done per patch below. > (The reason I didn't see that before is because Gnulib's wchar.h is > used in Texinfo only when compiling the XS extensions,

Re: Gnulib's wctype.h fails to compile with MinGW

2017-04-30 Thread Eli Zaretskii
> Date: Thu, 27 Apr 2017 20:50:25 +0300 > From: Eli Zaretskii > CC: bug-gnulib@gnu.org > > > From: Bruno Haible > > Date: Thu, 27 Apr 2017 19:03:35 +0200 > > > > Thanks for the report and suggested fix. > > > > The #ifdefology here seems a bit fragile to me (will likely break in other > > fork

Re: Gnulib's wctype.h fails to compile with MinGW

2017-04-29 Thread Gavin Smith
On Thu, Apr 27, 2017 at 08:50:25PM +0300, Eli Zaretskii wrote: > > From: Bruno Haible > > Date: Thu, 27 Apr 2017 19:03:35 +0200 > > > > Thanks for the report and suggested fix. > > > > The #ifdefology here seems a bit fragile to me (will likely break in other > > forks of mingw), therefore I'm u

Re: Gnulib's wctype.h fails to compile with MinGW

2017-04-27 Thread Eli Zaretskii
> From: Bruno Haible > Date: Thu, 27 Apr 2017 19:03:35 +0200 > > Thanks for the report and suggested fix. > > The #ifdefology here seems a bit fragile to me (will likely break in other > forks of mingw), therefore I'm using an Autoconf test instead: I only know of 2 flavors of MinGW (and wish t

Re: Gnulib's wctype.h fails to compile with MinGW

2017-04-27 Thread Bruno Haible
Hi Eli, > Building the recent pretest of Texinfo 6.4 with mingw.org's MinGW > fails: > > gcc -static-libgcc -DHAVE_CONFIG_H -I. -I../..-Id:/usr/include -O2 > -gdwarf-4 -g3 -MT mbchar.o -MD -MP -MF $depbase.Tpo -c -o mbchar.o mbchar.c > &&\ > mv -f $depbase.Tpo $depbase.Po >

Gnulib's wctype.h fails to compile with MinGW

2017-04-27 Thread Eli Zaretskii
Building the recent pretest of Texinfo 6.4 with mingw.org's MinGW fails: gcc -static-libgcc -DHAVE_CONFIG_H -I. -I../..-Id:/usr/include -O2 -gdwarf-4 -g3 -MT mbchar.o -MD -MP -MF $depbase.Tpo -c -o mbchar.o mbchar.c &&\ mv -f $depbase.Tpo $depbase.Po In file included from d:\u