We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b034369 commit 71c2fd0Copy full SHA for 71c2fd0
src/tools/msvc/pgbison.pl
@@ -45,5 +45,7 @@
45
my $basetarg = basename($output);
46
my $headerflag = ($make =~ /^$basetarg:\s+BISONFLAGS\b.*-d/m ? '-d' : '');
47
48
-system("bison $headerflag $input -o $output");
+my $nodep = $bisonver ge '3.0' ? "-Wno-deprecated" : "";
49
+
50
+system("bison $nodep $headerflag $input -o $output");
51
exit $? >> 8;
0 commit comments