Bring MSVS up to date.

pull/15/head
Jussi Pakkanen 12 years ago
parent 9e7a092ee5
commit 02a725510a
  1. 8
      environment.py

@ -383,8 +383,8 @@ class VisualStudioCCompiler(CCompiler):
std_opt_flags= ['/O2']
always_flags = ['/nologo', '/showIncludes']
def __init__(self, exelist):
CCompiler.__init__(self, exelist)
def __init__(self, exelist, is_cross, exe_wrap):
CCompiler.__init__(self, exelist, is_cross, exe_wrap)
self.id = 'msvc'
def get_always_flags(self):
@ -457,8 +457,8 @@ class VisualStudioCCompiler(CCompiler):
raise EnvironmentException('Executables created by C++ compiler %s are not runnable.' % self.name_string())
class VisualStudioCPPCompiler(VisualStudioCCompiler):
def __init__(self, exelist):
VisualStudioCCompiler.__init__(self, exelist)
def __init__(self, exelist, is_cross, exe_wrap):
VisualStudioCCompiler.__init__(self, exelist, is_cross, exe_wrap)
self.language = 'cpp'
self.default_suffix = 'cpp'

Loading…
Cancel
Save