diff options
author | Darshit Shah <darnir@gnu.org> | 2022-02-26 16:50:48 +0100 |
---|---|---|
committer | Darshit Shah <darnir@gnu.org> | 2022-02-26 16:50:48 +0100 |
commit | 14a7f68f46bd02f9ca582cc49ca4c72c8988e082 (patch) | |
tree | 8a5c5469f9a4c30c8c0e7a3b2576ee01325fe3bb | |
parent | ccc7866fead1f71db48189e9004867e29aadb14e (diff) | |
download | wget-14a7f68f46bd02f9ca582cc49ca4c72c8988e082.tar.gz |
* configure.ac: Add some warning flags to ignore
-rw-r--r-- | configure.ac | 4 |
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 |