Hi, On 8/21/24 18:32, Christoph Berg wrote:
10:39:04 snprintf.c:409:1: error: conflicting types for ‘strchrnul’; have ‘const char *(const char *, int)’ 10:39:04 409 | strchrnul(const char *s, int c) 10:39:04 | ^~~~~~~~~ 10:39:04 In file included from snprintf.c:43: 10:39:04 /usr/include/string.h:286:14: note: previous declaration of ‘strchrnul’ with type ‘char *(const char *, int)’ 10:39:04 286 | extern char *strchrnul (const char *__s, int __c) 10:39:04 | ^~~~~~~~~
Erm, that's a different class of bug: for some reason, strchrnul() is defined as returning a pointer to a non-const char, but this pointer is derived from the pointer to const char passed in.
The extension for some reason provides its own variant (probably a bug in a configure script) instead of using the glibc version.
That is not a 32 bit bug, but an indication of something else being broken. Simon