From a79f5b729ede4fe39386f2c4971064083631fa7a Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Tue, 23 Jul 2019 14:30:39 +0200 Subject: src: Call bison with -Wno-yacc to silence warnings 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 Acked-by: Pablo Neira Ayuso --- src/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Makefile.am b/src/Makefile.am index e2b53139..740c21f2 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -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 -- cgit v1.2.3