What version of Visual Studio is Python on my comp

2019-01-03 12:09发布

I am trying to find out the version of Visual Studio that is used to compile the Python on my computer

It says

Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit (Intel)] on win32

What I do not understand is this MSC V.1500 designation. Does it mean it is compiled with Visual Studio 2005? I cannot find this information on http://python.org.

2条回答
该账号已被封号
2楼-- · 2019-01-03 12:37
For this version of Visual C++  Use this compiler version
Visual C++ 4.x                  MSC_VER=1000
Visual C++ 5                    MSC_VER=1100
Visual C++ 6                    MSC_VER=1200
Visual C++ .NET                 MSC_VER=1300
Visual C++ .NET 2003            MSC_VER=1310
Visual C++ 2005  (8.0)          MSC_VER=1400
Visual C++ 2008  (9.0)          MSC_VER=1500
Visual C++ 2010 (10.0)          MSC_VER=1600
Visual C++ 2012 (11.0)          MSC_VER=1700
Visual C++ 2013 (12.0)          MSC_VER=1800
Visual C++ 2015 (14.0)          MSC_VER=1900
Visual C++ 2017 (15.0)          MSC_VER=1910
Visual C++ 2017 (15.0)          MSC_VER=1910
Visual C++ 2017 (15.3)          MSC_VER=1911
Visual C++ 2017 (15.5)          MSC_VER=1912
Visual C++ 2017 (15.6)          MSC_VER=1913
Visual C++ 2017 (15.7)          MSC_VER=1914
Visual C++ 2017 (15.8)          MSC_VER=1915
Visual C++ 2017 (15.9)          MSC_VER=1916
查看更多
小情绪 Triste *
3楼-- · 2019-01-03 12:40

MSC v.1500 appears to be Visual C++ 2008 according to this thread on the OpenCobol forums (of all places).

The MSDN page on Predefined Macros indicates 1500 to be the result of the _MSC_VER macro.

This other forum post mentions that

(For reference, Visual Studio 2003 has _MSC_VER = 1310; Visual Studio 2005 has _MSC_VER = 1400; Visual Studio 2008 has _MSC_VER = 1500.)

The above MSDN link said that 1600 indicates VS2010.

Strangely, I wasn't able to find that info about the earlier _MSC_VER values on MSDN.

查看更多
登录 后发表回答