Makefile.am: don't silence -Wimplicit-function-declaration
PATCH 1/1 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.
--- Makefile.am | 1 - 1 file changed, 1 deletion(-)
Makefile.am +0 -1
@@ -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 \
Signature · 1 line
2.43.0
Phil Sutter
reviewerQuoted 9 lines · Sam James
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 <[email protected]>
Patch applied, thanks!