Skip to content

Commit 8109abb

Browse files
committed
- MFH: vs2010 detection support, restore /W3
1 parent 1645041 commit 8109abb

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

win32/build/config.w32

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ if (!CL) {
1515
// 1310 is vs.net 2003
1616
// 1400 is vs.net 2005
1717
// 1500 is vs.net 2008
18+
// 1600 is vs.net 2010
1819
// Which version of the compiler do we have?
1920
VCVERS = probe_binary(CL).substr(0, 5).replace('.', '');
2021
STDOUT.WriteLine(" Detected compiler " + VC_VERSIONS[VCVERS]);

win32/build/confutils.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,15 @@ VC_VERSIONS[1300] = 'MSVC7 (Visual C++ 2002)';
4141
VC_VERSIONS[1310] = 'MSVC7.1 (Visual C++ 2003)';
4242
VC_VERSIONS[1400] = 'MSVC8 (Visual C++ 2005)';
4343
VC_VERSIONS[1500] = 'MSVC9 (Visual C++ 2008)';
44+
VC_VERSIONS[1600] = 'MSVC10 (Visual C++ 2010)';
4445

4546
var VC_VERSIONS_SHORT = new Array();
4647
VC_VERSIONS_SHORT[1200] = 'VC6';
4748
VC_VERSIONS_SHORT[1300] = 'VC7';
4849
VC_VERSIONS_SHORT[1310] = 'VC7.1';
4950
VC_VERSIONS_SHORT[1400] = 'VC8';
5051
VC_VERSIONS_SHORT[1500] = 'VC9';
52+
VC_VERSIONS_SHORT[1600] = 'VC10';
5153

5254
if (PROGRAM_FILES == null) {
5355
PROGRAM_FILES = "C:\\Program Files";

0 commit comments

Comments
 (0)