[PATCH] Makefile.am: don't silence -Wimplicit-function-declaration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
 Makefile.am | 1 -
 1 file changed, 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index 0ed831a1..688a9849 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -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 \
-- 
2.43.0





[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux