Re: wctype.h compile error on mingw with GNULIB_NAMESPACE

2019-11-16 Thread Christian Biesinger
On Sat, Nov 16, 2019 at 9:05 PM Bruno Haible wrote: > > Hello Christian, > > > Specifically, this testcase: > > > > #define GNULIB_NAMESPACE gnulib > > #include "gnulib/config.h" > > #include "wctype.h" > > > > x86_64-w64-mingw32-g++ -c test.cc -I build/gnulib/import/ -I > > binutils-gdb/gnulib/im

Re: wctype.h compile error on mingw with GNULIB_NAMESPACE

2019-11-16 Thread Bruno Haible
Hello Christian, > Specifically, this testcase: > > #define GNULIB_NAMESPACE gnulib > #include "gnulib/config.h" > #include "wctype.h" > > x86_64-w64-mingw32-g++ -c test.cc -I build/gnulib/import/ -I > binutils-gdb/gnulib/import/ > > Fails with errors like: > gnulib/import/wctype.h: In member f

wctype.h compile error on mingw with GNULIB_NAMESPACE

2019-11-16 Thread Christian Biesinger
Hello Bruno, On Sat, Nov 16, 2019 at 6:15 AM Bruno Haible wrote: > > This patch fixes the issue. The cause was that the contents of > in mingw depends on whether or was included before. thank you! That does seem to fix the issue (although it requires deleting config.cache :( ) I tried to upg

Re: Adapting changes for MSYS2?

2019-11-16 Thread arnold
Bruno Haible wrote: > What I could see > - from https://github.com/msys2/msys2/wiki/How-does-MSYS2-differ-from-Cygwin > - from analysis of a couple of gnulib test failures > is that MSYS2, compared to Cygwin, has problems in the area of file > permissions, > symbolic links, and signals (at l

Re: Adapting changes for MSYS2?

2019-11-16 Thread Bruno Haible
What I could see - from https://github.com/msys2/msys2/wiki/How-does-MSYS2-differ-from-Cygwin - from analysis of a couple of gnulib test failures is that MSYS2, compared to Cygwin, has problems in the area of file permissions, symbolic links, and signals (at least). Since anyone can compile fo

Re: time_r module does not work on MingW

2019-11-16 Thread Bruno Haible
This patch fixes the issue. The cause was that the contents of in mingw depends on whether or was included before. 2019-11-16 Bruno Haible time_r: Fix for mingw. Reported by Christian Biesinger in