Hi, The configure test in gl_FUNC_FREXP_WORKS within m4/frexp.m4 triggers a Clang warning/error when Clang is passed -Werror=incompatible-pointer-types.
This _isn't_ an issue with GCC 14, as it doesn't consider the lost const to be a problem, like so: /tmp/foo.c: In function ‘main’: /tmp/foo.c:59:21: warning: passing argument 2 of ‘memcmp’ discards ‘volatile’ qualifier from pointer target type [-Wdiscarded-qualifiers] 59 | if (memcmp (&y, &x, sizeof x)) | ^~ In file included from /tmp/foo.c:3: /usr/include/string.h:64:50: note: expected ‘const void *’ but argument is of type ‘volatile double *’ 64 | extern int memcmp (const void *__s1, const void *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ But Clang on the other hand, when directed to treat incompatible ptr. types as errors (which they may well do given GCC is) gives: /tmp/foo.c:59:21: error: passing 'volatile double *' to parameter of type 'const void *' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers] 59 | if (memcmp (&y, &x, sizeof x)) | ^~ /usr/include/string.h:64:50: note: passing argument to parameter '__s2' here 64 | extern int memcmp (const void *__s1, const void *__s2, size_t __n) | ^ 1 error generated. I'm naturally testing with GCC 14 at the moment but this was left over in some of the older testing we did with Clang so I'm working through the backlog there as well. thanks, sam