mirror of
https://github.com/mirror/wget.git
synced 2025-03-14 11:50:18 +08:00
* configure.ac: Add some warning flags to ignore
This commit is contained in:
parent
ccc7866fea
commit
14a7f68f46
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user