Re: [PATCH] Fix typo affecting __GNUC_PREREQ macro definition

2024-09-23 Thread Bruno Haible
> 2024-09-21 Bruno Haible > > getopt-posix, crypto/md5-buffer: Fix __GNUC_PREREQ re clang. This change causes a compilation error on Solaris 11 OmniOS in C++ mode: g++ -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -I. -I../../gltests -I.. -DGNULIB_STRICT_CHECKING=1 -DIN_GNULIB_TESTS=1 -

Re: [PATCH] utimens: port to NetBSD-10.99.12/amd64

2024-09-23 Thread Bruno Haible
Paul Eggert wrote: > On this platform, declares utimens and lutimens and the > C library defines them But the functions defined in NetBSD's libc don't have the same semantics as the one in Gnulib: - They don't validate their timespec[2] argument. - They don't bump the ctime when making a chan

Re: jit/cache tests: Fix crash with clang's UBSAN + ASAN

2024-09-23 Thread Bruno Haible
I did: > 2024-09-20 Bruno Haible > > jit/cache tests: Fix crash with clang's UBSAN + ASAN. > * tests/jit/test-cache.c (clang_ubsan_workaround): New variable. > (CODE, SET_CODE): Use it. > (main): Initialize it. Oops, this leads to a build failure: clang -Wno-error -