Re: Problem building free.c with musl libc

2024-07-10 Thread Reuben Thomas
On Wed, 10 Jul 2024 at 02:58, Bruno Haible wrote: > > Since you did not give a "How to reproduce" recipe, I am forced to do > guesswork. Building the 'free' module on Alpine Linux works fine, for > years already. > Do feel free to simply ask for more information! I do not want to spend time unne

RE: lib/fnmatch.c: mistakes `char32_t` rather than `wchar_t` on Windows

2024-07-10 Thread YX Hao
Hi Bruno and team, I don't use it in any other places, but only wget. Let's see the CI logs on GitHub. Requires login. I see you have an account. It uses MSYS2 + Mingw-w64 on Windows. Gnulib on commit d15237a2, but ` fnmatch.c` is the same as the latest. You can see `fnmatch.c` adopted the `u32_

RE: lib/fnmatch.c: mistakes `char32_t` rather than `wchar_t` on Windows

2024-07-10 Thread YX Hao
Hi, > `c32*.c` files are newly included, but `uc_is_*` functions are not The 2nd error also has gone with a newer gnulib commit 92cdf62b, which is merged from the head of wget, using a hack of: ``` sed -i "s/!_GL_SMALL_WCHAR_T/defined _GL_SMALL_WCHAR_T/" lib/fnmatch.c ``` https://github.com/lifenj

Re: lib/fnmatch.c: mistakes `char32_t` rather than `wchar_t` on Windows

2024-07-10 Thread Bruno Haible
YX Hao wrote: > C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.1.0/../../../../i686-w64-mingw32/bin/ld.exe: > ../lib/libgnu.a(fnmatch.o):fnmatch.c:(.text+0x240): undefined reference to > `u32_strlen' > C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.1.0/../../../../i686-w64-mingw32/bin