From f9108a3527f133f39c896ea051565d32a3755036 Mon Sep 17 00:00:00 2001 From: Jeremy Sowden Date: Sat, 26 Aug 2023 17:32:24 +0100 Subject: build: stop suppressing warnings for generated sources Contrary to the comment that yacc and lex generate dirty code, none of the warnings being suppressed are in the generated code. Stop suppressing them in order to fix the code. Signed-off-by: Jeremy Sowden Signed-off-by: Pablo Neira Ayuso --- src/Makefile.am | 3 --- 1 file changed, 3 deletions(-) (limited to 'src') diff --git a/src/Makefile.am b/src/Makefile.am index 4ea573a..352aa37 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -103,9 +103,6 @@ if HAVE_SYSTEMD conntrackd_SOURCES += systemd.c endif -# yacc and lex generate dirty code -read_config_yy.o read_config_lex.o: AM_CFLAGS += -Wno-incompatible-pointer-types -Wno-discarded-qualifiers - conntrackd_LDADD = ${LIBMNL_LIBS} ${LIBNETFILTER_CONNTRACK_LIBS} \ ${libdl_LIBS} ${LIBNFNETLINK_LIBS} -- cgit v1.2.3