From: Tim Duesterhus Date: Fri, 29 May 2020 12:35:50 +0000 (+0200) Subject: BUILD: Remove nowarn for warnings that do not trigger X-Git-Tag: v2.2-dev10~60 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4989de28112ca319049c42c6925c084ce9989f47;p=thirdparty%2Fhaproxy.git BUILD: Remove nowarn for warnings that do not trigger Tested with make -j4 all TARGET=linux-glibc USE_OPENSSL=1 USE_LUA=1 USE_ZLIB=1 USE_PCRE2=1 USE_PCRE2_JIT=1 USE_GETADDRINFO=1 against gcc (Debian 9.3.0-13) 9.3.0 Copyright (C) 2019 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. --- diff --git a/Makefile b/Makefile index 681fe39549..c4a8529e89 100644 --- a/Makefile +++ b/Makefile @@ -183,8 +183,6 @@ SPEC_CFLAGS += $(call cc-nowarn,address-of-packed-member) SPEC_CFLAGS += $(call cc-nowarn,unused-label) SPEC_CFLAGS += $(call cc-nowarn,sign-compare) SPEC_CFLAGS += $(call cc-nowarn,unused-parameter) -SPEC_CFLAGS += $(call cc-nowarn,old-style-declaration) -SPEC_CFLAGS += $(call cc-nowarn,ignored-qualifiers) SPEC_CFLAGS += $(call cc-nowarn,clobbered) SPEC_CFLAGS += $(call cc-nowarn,missing-field-initializers) SPEC_CFLAGS += $(call cc-nowarn,implicit-fallthrough)