From 02a725510a2d3144fa8cc4d974a0676841b3f478 Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Wed, 28 Aug 2013 18:17:08 +0300 Subject: [PATCH] Bring MSVS up to date. --- environment.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/environment.py b/environment.py index 362ab35a0..c9185211f 100644 --- a/environment.py +++ b/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'