Re: crc-x86_64: Fix compilation error with clang

2024-12-22 Thread Simon Josefsson via Gnulib discussion list
Bruno Haible via Gnulib discussion list writes: > So, all in all, it seems that the use of __attribute__ and #pragmas > is easier to maintain, in the long run, than compiler options. I agree with your analysis here too, even though I expressed support for the automake helper library approach in

Re: crc-x86_64: Fix compilation error with clang

2024-12-22 Thread Simon Josefsson via Gnulib discussion list
Bruno Haible via Gnulib discussion list writes: > Makefile.am: > if GL_CRC_X86_64_PCLMUL > -lib_SOURCES += crc-x86_64-pclmul.c > +# We need a separate library, in order to compile crc-x86_64-pclmul.c with > +# particular CFLAGS. > +# (Recall that '#pragma GCC target (...)' works only with gcc,

c32isprint tests: Avoid test failure on mingw/ucrt

2024-12-22 Thread Bruno Haible via Gnulib discussion list
On mingw-w64 with UCRT option, I see this test failure: FAIL: test-c32isprint.sh ../../gltests/test-c32isprint.c:178: assertion 'is != 0' failed FAIL test-c32isprint.sh (exit status: 1) This patch fixes it. 2024-12-22 Bruno Haible c32isprint tests: Avoid te

Re: gettext man pages have old date at bottom (May 2001)

2024-12-22 Thread Bruno Haible via Gnulib discussion list
[CCing bug-gettext. Please drop bug-gnulib in your replies.] Gavin Smith wrote in : > I was reading a man page for gettext(3) and I wanted to know where > the page came from. I scrolled to the bottom of the page and there was: >

gettext man pages have old date at bottom (May 2001)

2024-12-22 Thread Gavin Smith
I was reading a man page for gettext(3) and I wanted to know where the page came from. I scrolled to the bottom of the page and there was: GNU gettext 0.22.5 May 2001 GETTEXT(3) I downloaded gettext-0.23 and checked that the string "May 2001" is also prese

btowc: Fix declaration on mingw/ucrt

2024-12-22 Thread Bruno Haible via Gnulib discussion list
On mingw-w64 with UCRT option, I see this compilation error: gcc -std=gnu23 -DHAVE_CONFIG_H -DEXEEXT=\".exe\" -DEXEEXT=\".exe\" -I. -I../../gltests -I.. -DGNULIB_STRICT_CHECKING=1 -DIN_GNULIB_TESTS=1 -I. -I../../gltests -I.. -I../../gltests/.. -I../gllib -I../../gltests/../gllib -I/usr/local/u

posix_spawn_file_actions_addchdir tests: Avoid test failure on MSYS2

2024-12-22 Thread Bruno Haible via Gnulib discussion list
On MSYS2, there is also this test failure: FAIL: test-posix_spawn-chdir read output is not the expected output FAIL test-posix_spawn-chdir.exe (exit status: 1) This patch fixes it. 2024-12-22 Bruno Haible posix_spawn_file_actions_addchdir tests: Avoid t

test-framework-sh: Avoid test suite failures on MSYS2

2024-12-22 Thread Bruno Haible via Gnulib discussion list
On a recent MSYS2, I see 5 unit test failures: FAIL: test-error.sh === diff.exe: -: Invalid argument FAIL test-error.sh (exit status: 1) FAIL: test-update-copyright.sh == diff.exe: -: Invalid argument FAIL test-update-copyright.sh (exit status: 1) FA