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

Commitcd0e825

Browse files
committed
Fix msvc build for localized versions of Visual C++
Look only at the non-localized part of the output from "vcbuild /?",which is used to determine the version of Visual Studio in use. Differentlanguages seem to localize different amounts of the string, but we assumethe part "Microsoft Visual C++" won't be modified.
1 parent9771125 commitcd0e825

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/tools/msvc/Solution.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ sub DetermineToolVersions
6666
open(P,"vcbuild /? |") ||die"vcbuild command not found";
6767
my$line = <P>;
6868
close(P);
69-
if ($line !~/^Microsoft\s*\(R\) Visual C\+\+Project Builder -\D+(\d+)\.00\.\d+/)
69+
if ($line !~/^Microsoft\s*\(R\) Visual C\+\+[^-]+ -\D+(\d+)\.00\.\d+/)
7070
{
7171
die"Unable to determine vcbuild version from first line of output!";
7272
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp