Issue #23970: Adds distutils._msvccompiler for new Visual Studio versions.

This commit is contained in:
Steve Dower 2015-05-23 09:02:50 -07:00
parent 7689154f58
commit fd3664be00
6 changed files with 751 additions and 39 deletions

View file

@ -959,7 +959,7 @@ def get_default_compiler(osname=None, platform=None):
# is assumed to be in the 'distutils' package.)
compiler_class = { 'unix': ('unixccompiler', 'UnixCCompiler',
"standard UNIX-style compiler"),
'msvc': ('msvccompiler', 'MSVCCompiler',
'msvc': ('_msvccompiler', 'MSVCCompiler',
"Microsoft Visual C++"),
'cygwin': ('cygwinccompiler', 'CygwinCCompiler',
"Cygwin port of GNU C Compiler for Win32"),