summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-04-09 17:56:37 -0300
committerJuan Linietsky <reduzio@gmail.com>2017-04-09 17:59:17 -0300
commitfccf2816d4b7561ad84a60398487a042e4ea905b (patch)
treeae52c82910b8c61e4b88f2d42f451ec5f4b05a34 /SConstruct
parent2cca9b0631eccd66f1d3dec02438642619d7ee47 (diff)
-Fix eternal black screen on Windows
-Disabled warnings on windows, need to properly set up warnings
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct2
1 files changed, 1 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index 85075c6c79..c07baa2709 100644
--- a/SConstruct
+++ b/SConstruct
@@ -275,7 +275,7 @@ if selected_platform in platform_list:
# TODO: Add support to specify different levels of warning, e.g. only critical/significant, instead of on/off
if (env["warnings"] == "yes"):
if (os.name == "nt" and os.getenv("VSINSTALLDIR")): # MSVC, needs to stand out of course
- env.Append(CCFLAGS=['/W4'])
+ pass# env.Append(CCFLAGS=['/W2'])
else: # Rest of the world
env.Append(CCFLAGS=['-Wall'])
else: