summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index da166492..99870901 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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