problem building Gnulib libgnu_a-malloca.o with Debian oldstable's clang
"G. Branden Robinson" <[email protected]>
| Newsgroups | gmane.comp.lib.gnulib.bugs |
|---|---|
| Message-ID | <20260807032328.5jkltaxxo42vvobc@illithid> |
Hi folks,
I was trying to reproduce a problem with groff 1.25.0.rc2 that Doug
McIlroy reported to me privately...
> lib/vasnprintf.c:7402:86: warning: ‘digits_end_ptr’ may be used
> uninitialized [-Wmaybe-uninitialized]
> 7402 | num_thousands_separators
> (grouping, digits_end_ptr - digits_ptr);
> lib/vasnprintf.c:7379:42: note: ‘digits_end_ptr’ was declared here
> 7379 | TCHAR_T *digits_end_ptr;
...when I found I could not because I ran into this problem first.
CC lib/libgnu_a-malloca.o
../lib/malloca.c:49:56: error: too few arguments provided to function-like macro invocation
static_assert (2 * sa_alignment_max - 1 <= (small_t) -1);
^
/usr/include/x86_64-linux-gnu/sys/cdefs.h:447:10: note: macro '_Static_assert' defined here
# define _Static_assert(expr, diagnostic) \
^
../lib/malloca.c:49:57: error: expected '('
static_assert (2 * sa_alignment_max - 1 <= (small_t) -1);
^
2 errors generated.
make: *** [Makefile:9666: lib/libgnu_a-malloca.o] Error 1
Is this a known issue?
Regards,
Branden
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEh3PWHWjjDgcrENwa0Z6cfXEmbc4FAmp1T6kACgkQ0Z6cfXEm bc5Frw//ftkmn7VR/rywGK4/YDxpzogUPsKV++5ZZAzK9FICVP6Nu1wx6uj9Uh1S g3Q2CtSsJze+U0bsKHi7F0VA/oXKByjVrq89IBSvm4KebhFl/FPe9aLO/RlmUV36 x/bx9zp/TBi4T7NVjCiZ9v7HviR0uTkgbgr8YXYyP/a8Tx9Dxak3Ljut4+OqcnXx Fs3nl1FrFlQEnE3YB9cBf5GYQeCRs3UJsMmVJSzQkgTC5si9hGoKrsy8yK99u03r J2q2VpOPoFXzvuV+y1dVKE+Vq16CW0BOzQDk0alqIOdjVJJv1KyHxdQ5IvfqObCP uaUrXM9hoR7GgfIf9yFhxDAhD8keGQDco9DX2UGSx/d/v/XZ+hq9c+qAJFP7KQG9 Ms2i8panlUtoWy03p1G6gwVFd5w+gw/NqJDrvu7993jQkaqcfLFlLYdonZnMXjHf p41fCNeqgE4UXsjQ0WfLW5uv+47O6fs5rMPMqptHcLcjvviEFJWY7dXQxcArTjFI TwI99FyLKq42Cx47O8o22RRry0UxOU0C5yfZf2k2lmo6pFKTVPuTr+LqArm5Q9Py maIImXZ5pdlz2Do8Yjrn0AJUaazL+ODDKQT2qHTlrzjhbpGpue7kgFQ9sFxqnBXN ReT9KosWARWxGzVQ39uLuO2RFg9WDmAQc59Q2wJqYFNkAgpDajg= =dFMY -----END PGP SIGNATURE-----