]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
src: Call bison with -Wno-yacc to silence warnings
authorPhil Sutter <phil@nwl.cc>
Tue, 23 Jul 2019 12:30:39 +0000 (14:30 +0200)
committerPhil Sutter <phil@nwl.cc>
Tue, 30 Jul 2019 14:28:54 +0000 (16:28 +0200)
Bison-3.3 significantly increased warnings for POSIX incompatibilities,
it now complains about missing support for %name-prefix, %define,
%destructor and string literals. The latter applies to parameter of
%name-prefix and all relevant %token statements.

Signed-off-by: Phil Sutter <phil@nwl.cc>
Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
src/Makefile.am

index e2b531390cefb67b6d0bf95f26b744763081176c..740c21f2cac8547e180f86136e83086a518ad2e6 100644 (file)
@@ -22,7 +22,7 @@ AM_CFLAGS = -Wall                                                             \
            -Waggregate-return -Wunused -Wwrite-strings ${GCC_FVISIBILITY_HIDDEN}
 
 
-AM_YFLAGS = -d
+AM_YFLAGS = -d -Wno-yacc
 
 BUILT_SOURCES = parser_bison.h