From 4989de28112ca319049c42c6925c084ce9989f47 Mon Sep 17 00:00:00 2001 From: Tim Duesterhus Date: Fri, 29 May 2020 14:35:50 +0200 Subject: [PATCH] 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. --- Makefile | 2 -- 1 file changed, 2 deletions(-) diff --git a/Makefile b/Makefile index 681fe3954..c4a8529e8 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)