From: Michael Gilbert Date: Sat, 19 Mar 2022 00:48:02 +0000 (+0000) Subject: ignore warnings from bison X-Git-Tag: archive/raspbian/7.0_repack-10+rpi1~9 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=48085a6b8ff3fd48359edb16ef5392e77de18e58;p=wine.git ignore warnings from bison Gbp-Pq: Topic warnings Gbp-Pq: Name bison.patch --- diff --git a/tools/makedep.c b/tools/makedep.c index eb2dc9d..b04d7da 100644 --- a/tools/makedep.c +++ b/tools/makedep.c @@ -2733,7 +2733,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 )); @@ -2741,7 +2741,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 ); }