]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
share/mk/: $CLANG_CFLAGS: Add -Wno-language-extension-token
authorAlejandro Colomar <alx@kernel.org>
Sun, 5 Jan 2025 19:30:23 +0000 (20:30 +0100)
committerAlejandro Colomar <alx@kernel.org>
Sun, 5 Jan 2025 19:45:44 +0000 (20:45 +0100)
We use typeof(), which triggers that.  It's now standard, so this is a
false positive, IMO.

Signed-off-by: Alejandro Colomar <alx@kernel.org>
share/mk/configure/build-depends/gcc/cc.mk

index f7756f5829b67d28c05b45fe0509f8dc072375e1..4cf3c16eee367529056c25bebb5495d833fcae98 100644 (file)
@@ -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