summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2015-05-07 17:39:02 -0400
committerAndrew Morrow <acm@mongodb.com>2015-07-10 15:21:21 -0400
commit9860f961ad50e6cb84bab14721ee4404ce0f4b68 (patch)
tree807948e188215e007bf7c3845537e9e0fc1fb2fd
parent56ed85c71a8e2a0f0cc70a092b51344d6be186d3 (diff)
downloadmongo-9860f961ad50e6cb84bab14721ee4404ce0f4b68.tar.gz
SERVER-18017 SERVER-17728 Suppres some new clang 3.6 warnings we don't like
(cherry picked from commit 1d9b83f16314cdb1e9da4b5c853870f10abb49df)
-rw-r--r--SConstruct7
1 files changed, 7 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index 3c11aba90a6..5e2837c4e6d 100644
--- a/SConstruct
+++ b/SConstruct
@@ -1537,6 +1537,13 @@ def doConfigure(myenv):
# we explicitly disable it here.
AddToCCFLAGSIfSupported(myenv, "-Wno-missing-braces")
+ # Suppress warnings about not consistently using override everywhere in a class. It seems
+ # very pedantic, and we have a fair number of instances.
+ AddToCCFLAGSIfSupported(myenv, "-Wno-inconsistent-missing-override")
+
+ # Don't issue warnings about potentially evaluated expressions
+ AddToCCFLAGSIfSupported(myenv, "-Wno-potentially-evaluated-expression")
+
# Check if we need to disable null-conversion warnings
if using_clang():
def CheckNullConversion(context):