Commit 71c2fd0c authored by Andrew Dunstan's avatar Andrew Dunstan

Turn off deprecated bison warnings under MSVC

These are disabled by the configure code, so this is just fixing an
inconsistency in the MSVC code.

Backpatch to all live branches.
parent b0343699
...@@ -45,5 +45,7 @@ close($mf); ...@@ -45,5 +45,7 @@ close($mf);
my $basetarg = basename($output); my $basetarg = basename($output);
my $headerflag = ($make =~ /^$basetarg:\s+BISONFLAGS\b.*-d/m ? '-d' : ''); my $headerflag = ($make =~ /^$basetarg:\s+BISONFLAGS\b.*-d/m ? '-d' : '');
system("bison $headerflag $input -o $output"); my $nodep = $bisonver ge '3.0' ? "-Wno-deprecated" : "";
system("bison $nodep $headerflag $input -o $output");
exit $? >> 8; exit $? >> 8;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment