* configure.ac: Add some warning flags to ignore

This commit is contained in:
Darshit Shah 2022-02-26 16:50:48 +01:00
parent ccc7866fea
commit 14a7f68f46

View File

@ -392,6 +392,10 @@ if test -n "$WARN_CFLAGS"; then
nw="$nw -Wabi" # gcc 8, very noisy
nw="$nw -Wunused-macros" # triggers in auto-generated lex css parser, #pragma doesn't work, conflicts with -Werror
nw="$nw -Wchkp" # Deprecated option
nw="$nw -Wswitch-enum" # Too noisy
nw="$nw -Wswitch-default" # TODO: Enable someday. Too noisy for now
nw="$nw -Wpedantic" # GCC 11. Too noisy, will never be supported
nw="$nw -Wnested-externs" # Stylistic choice and we do use it in hsts code
if test "$cross_compiling" = yes; then
nw="$nw -Wformat"
fi