Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit71c2fd0

Browse files
committed
Turn off deprecated bison warnings under MSVC
These are disabled by the configure code, so this is just fixing aninconsistency in the MSVC code.Backpatch to all live branches.
1 parentb034369 commit71c2fd0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎src/tools/msvc/pgbison.pl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,7 @@
4545
my$basetarg = basename($output);
4646
my$headerflag = ($make =~/^$basetarg:\s+BISONFLAGS\b.*-d/m ?'-d' :'');
4747

48-
system("bison$headerflag$input -o$output");
48+
my$nodep =$bisonverge'3.0' ?"-Wno-deprecated" :"";
49+
50+
system("bison$nodep$headerflag$input -o$output");
4951
exit$? >> 8;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp