From: Alejandro Colomar Date: Sun, 5 Jan 2025 19:30:23 +0000 (+0100) Subject: share/mk/: $CLANG_CFLAGS: Add -Wno-language-extension-token X-Git-Tag: man-pages-6.10~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ec73171fea86c9052891b00217f381456df468b;p=thirdparty%2Fman-pages.git share/mk/: $CLANG_CFLAGS: Add -Wno-language-extension-token We use typeof(), which triggers that. It's now standard, so this is a false positive, IMO. Signed-off-by: Alejandro Colomar --- diff --git a/share/mk/configure/build-depends/gcc/cc.mk b/share/mk/configure/build-depends/gcc/cc.mk index f7756f582..4cf3c16ee 100644 --- a/share/mk/configure/build-depends/gcc/cc.mk +++ b/share/mk/configure/build-depends/gcc/cc.mk @@ -47,6 +47,7 @@ GCC_CFLAGS := -fanalyzer CLANG_CFLAGS := \ -Weverything \ + -Wno-language-extension-token \ -Wno-unreachable-code \ -Wno-unsafe-buffer-usage \ -Wno-used-but-marked-unused