]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: Remove nowarn for warnings that do not trigger
authorTim Duesterhus <tim@bastelstu.be>
Fri, 29 May 2020 12:35:50 +0000 (14:35 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 11 Jun 2020 13:08:27 +0000 (15:08 +0200)
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

index 681fe39549ff000772dde97995ed9783dba404ef..c4a8529e89c8e1c1c68adfcd157c471647315ff1 100644 (file)
--- 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)