Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Letwory <nathan@letworyinteractive.com>2010-10-20 02:17:34 +0400
committerNathan Letwory <nathan@letworyinteractive.com>2010-10-20 02:17:34 +0400
commitb741740ffabd0170415845354d5f8e3fdf657f1f (patch)
tree71a6c10d6341000c0b077dfdcfd56023c7164ff9 /source/blender/blenloader/SConscript
parent56f89d2375dc9f2fe4de9bfbce876cc4bb466008 (diff)
Fix [#21294] Bad object drawing and crash when rendering
Reported and patched by Shane Ambler. Took the opportunity to silence warnings in readfile.c. For Windows in SCons I enabled /WX for blenloader. This means that all enabled warnings will throw errors from now on.
Diffstat (limited to 'source/blender/blenloader/SConscript')
-rw-r--r--source/blender/blenloader/SConscript5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/blenloader/SConscript b/source/blender/blenloader/SConscript
index 88d345290e5..bab08c89b57 100644
--- a/source/blender/blenloader/SConscript
+++ b/source/blender/blenloader/SConscript
@@ -11,4 +11,7 @@ incs += ' ' + env['BF_ZLIB_INC']
defs = []
-env.BlenderLib ( 'bf_blenloader', sources, Split(incs), defs, libtype=['core','player'], priority = [167,30] )
+if env['OURPLATFORM'] in ('win32-vc', 'win64-vc'):
+ env.BlenderLib ( 'bf_blenloader', sources, Split(incs), defs, libtype=['core','player'], priority = [167,30], cc_compileflags=['/WX'] )
+else:
+ env.BlenderLib ( 'bf_blenloader', sources, Split(incs), defs, libtype=['core','player'], priority = [167,30] )