From 580ce3986eb47f37ff07ddc822cd6fcab748cb7b Mon Sep 17 00:00:00 2001 From: Michael Gilbert Date: Sat, 24 Sep 2022 18:29:03 +0100 Subject: [PATCH] ignore warnings from bison Gbp-Pq: Topic warnings Gbp-Pq: Name bison.patch --- tools/makedep.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/makedep.c b/tools/makedep.c index bee3133..a7acba2 100644 --- a/tools/makedep.c +++ b/tools/makedep.c @@ -2582,7 +2582,7 @@ static void output_source_y( struct makefile *make, struct incl_file *source, co if (find_include_file( make, header )) { output( "%s: %s\n", obj_dir_path( make, header ), source->filename ); - output( "\t%s%s -p %s_ -o %s.tab.c -d %s\n", + output( "\t%s%s -Wno-deprecated -Wno-conflicts-rr -Wno-conflicts-sr -p %s_ -o %s.tab.c -d %s\n", cmd_prefix( "BISON" ), bison, obj, obj_dir_path( make, obj ), source->filename ); output( "%s.tab.c: %s %s\n", obj_dir_path( make, obj ), source->filename, obj_dir_path( make, header )); @@ -2590,7 +2590,7 @@ static void output_source_y( struct makefile *make, struct incl_file *source, co } else output( "%s.tab.c: %s\n", obj_dir_path( make, obj ), source->filename ); - output( "\t%s%s -p %s_ -o $@ %s\n", cmd_prefix( "BISON" ), bison, obj, source->filename ); + output( "\t%s%s -Wno-deprecated -Wno-conflicts-rr -Wno-conflicts-sr -p %s_ -o $@ %s\n", cmd_prefix( "BISON" ), bison, obj, source->filename ); } -- 2.30.2