mirror of
https://github.com/postgres/postgres.git
synced 2026-04-20 22:00:13 -04:00
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.
This commit is contained in:
parent
c9c042dded
commit
3163349fd7
1 changed files with 3 additions and 1 deletions
|
|
@ -45,5 +45,7 @@ close($mf);
|
|||
my $basetarg = basename($output);
|
||||
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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue