mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 10:37:22 -08:00
a0cd9d2dcf3c5ce4817bccfab675500ca063b7fb
Since glibc 2.43, <string.h> uses the C11 _Generic keyword, but
qatzip is built with -std=gnu99. When building with clang and
-Werror, this results in:
qzip.c:767:14: error: '_Generic' is a C11 extension [-Werror,-Wc11-extensions]
767 | if ((p = strrchr(fname, '/')) != NULL) {
| ^
/usr/include/string.h:296:3: note: expanded from macro 'strrchr'
296 | __glibc_const_generic (S, const char *, strrchr (S, C))
| ^
/usr/include/sys/cdefs.h:838:3: note: expanded from macro '__glibc_const_generic'
838 | _Generic (0 ? (PTR) : (void *) 1, \
| ^
TODO: switch qatzip to use -std=gnu11.
Signed-off-by: Z. Liu <zhixu.liu@gmail.com>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/2309
Signed-off-by: Sam James <sam@gentoo.org>
…
…
…
…
…
…
…
Description
No description provided
9.8 GiB
Languages
Shell
98%
Roff
1.4%
Emacs Lisp
0.2%
C
0.1%