Skip to content

Commit a999b13

Browse files
committed
Merge pull request #61 from Ashalah/patch-1
Fix VS 2015 version number (was looking for 13.0, but MS skipped to 14.0)
2 parents ff2b373 + a6c8712 commit a999b13

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Aurora/RuntimeCompiler/Compiler_PlatformWindows.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -415,8 +415,8 @@ void GetPathsOfVisualStudioInstalls( std::vector<VSVersionInfo>* pVersions )
415415

416416
const size_t NUMNAMESTOCHECK = 6;
417417

418-
// supporting: VS2005, VS2008, VS2010, VS2011, VS2013
419-
std::string valueName[NUMNAMESTOCHECK] = {"8.0","9.0","10.0","11.0","12.0","13.0"};
418+
// supporting: VS2005, VS2008, VS2010, VS2011, VS2013, VS2015
419+
std::string valueName[NUMNAMESTOCHECK] = {"8.0","9.0","10.0","11.0","12.0","14.0"};
420420

421421
// we start searching for a compatible compiler from the current version backwards
422422
int startVersion = NUMNAMESTOCHECK - 1;
@@ -439,7 +439,7 @@ void GetPathsOfVisualStudioInstalls( std::vector<VSVersionInfo>* pVersions )
439439
case 1800: //VS 2013
440440
startVersion = 4;
441441
break;
442-
case 1900: //VS 2014
442+
case 1900: //VS 2015
443443
startVersion = 5;
444444
break;
445445
default:

0 commit comments

Comments
 (0)