bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: wctype.h compile error on mingw with GNULIB_NAMESPACE


From: Christian Biesinger
Subject: Re: wctype.h compile error on mingw with GNULIB_NAMESPACE
Date: Mon, 25 Nov 2019 17:28:40 -0600

On Sun, Nov 24, 2019 at 1:16 PM Bruno Haible <address@hidden> wrote:
>
> Christian Biesinger wrote:
> > Thanks for your quick patches! This solves the problem for me.
>
> Thanks for the confirmation. Some other patches are needed for the same
> thing to work on Cygwin and mingw. Will push them once Savannah is back 
> online.

Thanks Bruno -- have these been committed yet? It looks like they probably are?

Christian

> 2019-11-24  Bruno Haible  <address@hidden>
>
>         Fix errors in C++ mode on Cygwin.
>         * lib/sys_wait.in.h (waitpid): Use _GL_CXXALIAS_SYS_CAST instead of
>         _GL_CXXALIAS_SYS.
>
>         windows-timedmutex: Fix errors in C++ mode on mingw.
>         * lib/windows-timedmutex.h: Add closing brace.
>
>         iswctype: Fix errors in C++ mode on mingw.
>         * lib/wctype.in.h (rpl_iswctype): Override if GNULIB_OVERRIDES_WINT_T
>         is 1.
>         * lib/iswctype.c (iswctype): Add another implementation, for the
>         GNULIB_defined_wint_t case.
>         * modules/iswctype (configure.ac): Compile iswctype.c also if
>         GNULIB_OVERRIDES_WINT_T is 1.
>
>         sys_time: Fix errors in C++ mode on mingw.
>         * lib/sys_time.in.h (timeval): Restore the redirection
>         '#define timeval rpl_timeval', for when the symbol timeval is being 
> used
>         outside the 'gnulib' namespace.
>         * lib/sys_select.in.h (select): In C++, write 'timeval', not
>         'struct timeval'.
>
>         Fix errors in C++ mode on mingw.
>         * lib/arpa_inet.in.h (inet_ntop, inet_pton): Use _GL_CXXALIAS_SYS_CAST
>         instead of _GL_CXXALIAS_SYS.
>         * lib/signal.in.h (pthread_sigmask): Likewise.
>         * lib/spawn.in.h (posix_spawn_file_actions_addopen,
>         posix_spawn_file_actions_addclose, posix_spawn_file_actions_adddup2):
>         Likewise.
>         * lib/wchar.in.h (btowc): Likewise.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]