diff options
author | Remko Tronçon <git@el-tramo.be> | 2013-08-16 07:58:30 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2013-08-22 20:27:22 (GMT) |
commit | e749dbed4e1f5aa82660fea633e27a3354156a57 (patch) | |
tree | 75574ab9106938451808ffe4726a889602496989 /BuildTools | |
parent | 099c4028d6b357fd1de7e2d6296628c1367bf30d (diff) | |
download | swift-e749dbed4e1f5aa82660fea633e27a3354156a57.zip swift-e749dbed4e1f5aa82660fea633e27a3354156a57.tar.bz2 |
Ignore unknown pragmas.
Change-Id: I9a15163da44a964eaa5ce452cb23524ecf10a2c3
Diffstat (limited to 'BuildTools')
-rw-r--r-- | BuildTools/SCons/SConscript.boot | 1 |
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 |