From: Sam James Date: Wed, 7 Feb 2024 02:12:35 +0000 (+0000) Subject: Makefile.am: don't silence -Wimplicit-function-declaration X-Git-Tag: v1.0.6.1~244 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f0e6d34ff8c4412e045646b119fbc538e90a74e2;p=thirdparty%2Fnftables.git Makefile.am: don't silence -Wimplicit-function-declaration 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 Signed-off-by: Phil Sutter --- diff --git a/src/Makefile.am b/src/Makefile.am index 264d981e..143271c5 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -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