summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2013-08-16 07:58:30 (GMT)
committerRemko Tronçon <git@el-tramo.be>2013-08-22 20:27:22 (GMT)
commite749dbed4e1f5aa82660fea633e27a3354156a57 (patch)
tree75574ab9106938451808ffe4726a889602496989 /BuildTools/SCons
parent099c4028d6b357fd1de7e2d6296628c1367bf30d (diff)
downloadswift-e749dbed4e1f5aa82660fea633e27a3354156a57.zip
swift-e749dbed4e1f5aa82660fea633e27a3354156a57.tar.bz2
Ignore unknown pragmas.
Change-Id: I9a15163da44a964eaa5ce452cb23524ecf10a2c3
Diffstat (limited to 'BuildTools/SCons')
-rw-r--r--BuildTools/SCons/SConscript.boot1
1 files changed, 1 insertions, 0 deletions
diff --git a/BuildTools/SCons/SConscript.boot b/BuildTools/SCons/SConscript.boot
index 80f8c59..f1341d1 100644
--- a/BuildTools/SCons/SConscript.boot
+++ b/BuildTools/SCons/SConscript.boot
@@ -255,6 +255,7 @@ else :
env.Append(CXXFLAGS = [
"-Weverything",
"-Wno-unknown-warning-option", # To stay compatible between CLang versions
+ "-Wno-unknown-pragmas", # To stay compatible between CLang versions
"-Wno-weak-vtables", # Virtually none of our elements have outlined methods. This also seems to affect classes in .cpp files, which in turn affects all our tests, which may need fixing in CLang
"-Wno-shadow", # Also warns for shadowing on constructor arguments, which we do a lot
"-Wno-documentation", # We don't care about documentation warnings