Re: fnmatch: Overcome wchar_t limitations

2023-07-27 Thread Bruno Haible
> This patch caused link errors on mingw, with libunistring installed: And similarly a few link errors on MSVC, with libunistring installed: libgnu.a(fnmatch.obj) : error LNK2019: unresolved external symbol u32_chr referenced in function internal_fnwmatch libgnu.a(fnmatch.obj) : error LNK2019: u

Re: fnmatch: Overcome wchar_t limitations

2023-07-27 Thread Bruno Haible
This patch caused link errors on mingw, with libunistring installed: /home/bruno/testdir-all/build-mingw64/gllib/../../gllib/unistr/u-pcpy.h:21: undefined reference to `u32_cpy' collect2: error: ld returned 1 exit status make[4]: *** [Makefile:18137: test-fnmatch-w32.exe] Error 1 ../gllib/libgnu

Re: fnmatch: Overcome wchar_t limitations

2023-07-25 Thread Adhemerval Zanella Netto
On 24/07/23 21:46, Bruno Haible wrote: > This patch fixes the remaining problems of fnmatch() on Cygwin, > native Windows, and AIX in 32-bit mode. > > I think the code changes are in glibc style, because > - they use upper-case names for macros, > - the macro names are aligned to the type a

fnmatch: Overcome wchar_t limitations

2023-07-24 Thread Bruno Haible
g-optional' module. (Like in <https://lists.gnu.org/archive/html/bug-gnulib/2023-07/msg0.html>.) 2023-07-24 Bruno Haible fnmatch: Overcome wchar_t limitations. * m4/fnmatch.m4 (gl_FUNC_FNMATCH_POSIX): Set REPLACE_FNMATCH to 1 on AIX in 32-bit mode.