From f0e6d34ff8c4412e045646b119fbc538e90a74e2 Mon Sep 17 00:00:00 2001 From: Sam James Date: Wed, 7 Feb 2024 02:12:35 +0000 Subject: [PATCH] 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 --- src/Makefile.am | 1 - 1 file changed, 1 deletion(-) 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 -- 2.47.3