Skip to content

Commit

Permalink
Merge pull request #61 from Ashalah/patch-1
Browse files Browse the repository at this point in the history
Fix VS 2015 version number (was looking for 13.0, but MS skipped to 14.0)
  • Loading branch information
dougbinks committed May 9, 2015
2 parents ff2b373 + a6c8712 commit a999b13
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Aurora/RuntimeCompiler/Compiler_PlatformWindows.cpp
Expand Up @@ -415,8 +415,8 @@ void GetPathsOfVisualStudioInstalls( std::vector<VSVersionInfo>* pVersions )

const size_t NUMNAMESTOCHECK = 6;

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

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

0 comments on commit a999b13

Please sign in to comment.