From: Michael Gilbert Date: Wed, 12 Oct 2022 00:18:28 +0000 (+0100) Subject: ignore warnings from bison X-Git-Tag: archive/raspbian/7.0_repack-10+rpi1~2^2~10 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=184d95f9ef03afb60b64450472905d5772ea7101;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 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 ); }