From 7a85ad51bfc302748b912ec6b69f647b6fd131b7 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Tue, 17 Jan 2012 10:32:17 +0000 Subject: Compilation error when using mingw+scons Error was caused by boost library (which doesn't seem to be working with Cycles too when compiling with mingw). Switched mingw to use TR1 unordered collections. Also, there was re-declaration of strcasecmp when mingw is used. Additional changes are related on using own process spawning when BF_TOOLSET is set to mingw. Seems to be working fine now (i've got too long command line error) and no warning are supressing now (as it was told in comment for commented own process spawning). --- SConstruct | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'SConstruct') diff --git a/SConstruct b/SConstruct index ee43015cf6e..0dd59add019 100644 --- a/SConstruct +++ b/SConstruct @@ -147,9 +147,8 @@ if toolset: env.Tool('mstoolkit', [toolpath]) else: env = BlenderEnvironment(tools=[toolset], ENV = os.environ) - # xxx commented out, as was supressing warnings under mingw.. - #if env: - # btools.SetupSpawn(env) + if env: + btools.SetupSpawn(env) else: if bitness==64 and platform=='win32': env = BlenderEnvironment(ENV = os.environ, MSVS_ARCH='amd64') -- cgit v1.2.3