ignore warnings from bison
authorMichael Gilbert <mgilbert@debian.org>
Sun, 13 Mar 2022 04:27:41 +0000 (04:27 +0000)
committerMichael Gilbert <mgilbert@debian.org>
Sun, 13 Mar 2022 04:27:41 +0000 (04:27 +0000)
Gbp-Pq: Topic warnings
Gbp-Pq: Name bison.patch

tools/makedep.c

index 3b8248606feef011808a3fc265bf091e0d8289ae..62db280f1c5f123f4a49039e9371d28302bbdb70 100644 (file)
@@ -2725,7 +2725,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 ));
@@ -2733,7 +2733,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 );
 }