summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-01-26 20:13:38 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-01-26 20:13:38 (GMT)
commit33f5d90fcf54917e365d9ad4357929a91c31f701 (patch)
tree229c85cecd02be899b533d60788d83cabc791126 /BuildTools/SCons/SConstruct
parentc434b60768c73c22bc539d28d4f44941f804a53e (diff)
downloadswift-contrib-33f5d90fcf54917e365d9ad4357929a91c31f701.zip
swift-contrib-33f5d90fcf54917e365d9ad4357929a91c31f701.tar.bz2
Added -Werror compile flag.
Diffstat (limited to 'BuildTools/SCons/SConstruct')
-rw-r--r--BuildTools/SCons/SConstruct2
1 files changed, 1 insertions, 1 deletions
diff --git a/BuildTools/SCons/SConstruct b/BuildTools/SCons/SConstruct
index 75129b7..e2d46c5 100644
--- a/BuildTools/SCons/SConstruct
+++ b/BuildTools/SCons/SConstruct
@@ -163,7 +163,7 @@ if env["warnings"] :
if env["PLATFORM"] == "win32" :
env.Append(CCFLAGS = ["/Wall"])
else :
- env.Append(CXXFLAGS = ["-Wextra", "-Wall", "-Wnon-virtual-dtor", "-Wundef", "-Wold-style-cast", "-Wno-long-long", "-Woverloaded-virtual", "-Wfloat-equal", "-Wredundant-decls"])
+ env.Append(CXXFLAGS = ["-Werror", "-Wextra", "-Wall", "-Wnon-virtual-dtor", "-Wundef", "-Wold-style-cast", "-Wno-long-long", "-Woverloaded-virtual", "-Wfloat-equal", "-Wredundant-decls"])
gccVersion = env["CCVERSION"].split(".")
if gccVersion >= ["4", "5", "0"] :
env.Append(CCFLAGS = ["-Wlogical-op"])