diff options
author | Tobias Markmann <tm@ayena.de> | 2015-04-30 15:39:46 (GMT) |
---|---|---|
committer | Tobias Markmann <tm@ayena.de> | 2015-04-30 15:39:46 (GMT) |
commit | d7bc3a37f4bb261c8520a8ddedcda2369f97361c (patch) | |
tree | a5b8ad67d3090ae6513b0a860ccefde3fc6952ff /BuildTools | |
parent | da1d43a2c7ae0468f1d38f40c33a0d11ce4c2daf (diff) | |
download | swift-d7bc3a37f4bb261c8520a8ddedcda2369f97361c.zip swift-d7bc3a37f4bb261c8520a8ddedcda2369f97361c.tar.bz2 |
Disable potentially-evaluated-expression Clang warning
Test-Information:
Verified with Clang 3.7.0 on OS X.
Change-Id: I345ef288163214288d41c3980c8e67529db0657d
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 79d5fe8..60aebdc 100644 --- a/BuildTools/SCons/SConscript.boot +++ b/BuildTools/SCons/SConscript.boot @@ -314,6 +314,7 @@ else : "-Wno-padded", "-Wno-missing-variable-declarations", # Getting rid of CPPUnit warnings "-Wno-direct-ivar-access", # Obj-C code warning + "-Wno-potentially-evaluated-expression", # Caused due to calling shared_ptr::get() inside typeid() ]) 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"]) |