From d7bc3a37f4bb261c8520a8ddedcda2369f97361c Mon Sep 17 00:00:00 2001
From: Tobias Markmann <tm@ayena.de>
Date: Thu, 30 Apr 2015 17:39:46 +0200
Subject: Disable potentially-evaluated-expression Clang warning

Test-Information:

Verified with Clang 3.7.0 on OS X.

Change-Id: I345ef288163214288d41c3980c8e67529db0657d

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"])
-- 
cgit v0.10.2-6-g49f6