diff options
author | Remko Tronçon <git@el-tramo.be> | 2011-01-26 20:13:38 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2011-01-26 20:13:38 (GMT) |
commit | 33f5d90fcf54917e365d9ad4357929a91c31f701 (patch) | |
tree | 229c85cecd02be899b533d60788d83cabc791126 | |
parent | c434b60768c73c22bc539d28d4f44941f804a53e (diff) | |
download | swift-33f5d90fcf54917e365d9ad4357929a91c31f701.zip swift-33f5d90fcf54917e365d9ad4357929a91c31f701.tar.bz2 |
Added -Werror compile flag.
-rw-r--r-- | BuildTools/SCons/SConstruct | 2 |
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"]) |