]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
Makefile.am: don't silence -Wimplicit-function-declaration
authorSam James <sam@gentoo.org>
Wed, 7 Feb 2024 02:12:35 +0000 (02:12 +0000)
committerPhil Sutter <phil@nwl.cc>
Wed, 7 Feb 2024 17:10:43 +0000 (18:10 +0100)
This becomes an error in GCC 14 and Clang 16. It's a common
misconception that these warnings are invalid or simply noise for
Bison/parser files, but even if that were true, we'd need to handle it
somehow anyway. Silencing them does nothing, so stop doing that.

Further, I don't actually get any warnings to fix with bison-3.8.2. This
mirrors changes we've done in other netfilter.org projects.

Signed-off-by: Sam James <sam@gentoo.org>
Signed-off-by: Phil Sutter <phil@nwl.cc>
Makefile.am

index 0ed831a19e95150aa3da01814bc7eab1759e2142..688a984990d95d329f7876e14fb1c18da3295e7b 100644 (file)
@@ -170,7 +170,6 @@ src_libparser_la_SOURCES = \
 
 src_libparser_la_CFLAGS = \
        $(AM_CFLAGS) \
-       -Wno-implicit-function-declaration \
        -Wno-missing-declarations \
        -Wno-missing-prototypes \
        -Wno-nested-externs \