summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2013-08-15 13:17:37 (GMT)
committerTobias Markmann <tm@ayena.de>2013-08-15 13:17:37 (GMT)
commitdf6d3df1a8b619ce2fd7e61d884bcb532d5e534b (patch)
tree769e2f208935123995bb77c8834a9192ed748bb6 /BuildTools
parent88153286ea2f11fea24b950e7dbb0075ceb49a54 (diff)
downloadswift-df6d3df1a8b619ce2fd7e61d884bcb532d5e534b.zip
swift-df6d3df1a8b619ce2fd7e61d884bcb532d5e534b.tar.bz2
Add "-Wno-missing-variable-declarations" (some CPPUnit annoyance) and "-Wno-direct-ivar-access" to our default clang flags.
Change-Id: If6f544696128967e0785a5afc86bdd2ca9ea352a License: This patch is BSD-licensed, see Documentation/Licenses/BSD-simplified.txt for details.
Diffstat (limited to 'BuildTools')
-rw-r--r--BuildTools/SCons/SConscript.boot2
1 files changed, 2 insertions, 0 deletions
diff --git a/BuildTools/SCons/SConscript.boot b/BuildTools/SCons/SConscript.boot
index 8429737..80f8c59 100644
--- a/BuildTools/SCons/SConscript.boot
+++ b/BuildTools/SCons/SConscript.boot
@@ -265,6 +265,8 @@ else :
"-Wno-c++11-extensions", # We use C++11; turn this off when we use -std=c++11
"-Wno-long-long", # We use long long
"-Wno-padded",
+ "-Wno-missing-variable-declarations", # Getting rid of CPPUnit warnings
+ "-Wno-direct-ivar-access", # Obj-C code warning
])
else :
env.Append(CXXFLAGS = ["-Wextra", "-Wall", "-Wnon-virtual-dtor", "-Wundef", "-Wold-style-cast", "-Wno-long-long", "-Woverloaded-virtual", "-Wfloat-equal", "-Wredundant-decls", "-Wno-unknown-pragmas"])