]> 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)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 22 Jan 2025 23:41:54 +0000 (00:41 +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>
src/Makefile.am

index 264d981e20c7f7fbcdd6d06d021c0151b1e00f58..143271c5128bc9a5e3e0d1bdb51d70a853ce796b 100644 (file)
@@ -84,7 +84,6 @@ libparser_la_SOURCES = parser_bison.y scanner.l
 libparser_la_CFLAGS = ${AM_CFLAGS} \
                      -Wno-missing-prototypes \
                      -Wno-missing-declarations \
-                     -Wno-implicit-function-declaration \
                      -Wno-nested-externs \
                      -Wno-undef \
                      -Wno-redundant-decls