Apple's 3.6.0svn based clang doesn't support -Winconsistent-missing-override

That's the version Apple ships with Xcode 6.3.2. We set the
threshold to Xcode 7, whose clang version supports the "missing
override" warning.

Change-Id: Ibcab8a45306120bdcd02ca5b0bb0d1c638cea177
Task-number: QTBUG-46833
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
This commit is contained in:
Gabriel de Dietrich 2015-06-25 10:50:05 +02:00 committed by Liang Qi
parent cb6cba2b6f
commit 7d5e849e28

View File

@ -155,7 +155,7 @@
/* Clang also masquerades as GCC */ /* Clang also masquerades as GCC */
# if defined(__apple_build_version__) # if defined(__apple_build_version__)
# /* http://en.wikipedia.org/wiki/Xcode#Toolchain_Versions */ # /* http://en.wikipedia.org/wiki/Xcode#Toolchain_Versions */
# if __apple_build_version__ >= 6020049 # if __apple_build_version__ >= 7000053
# define Q_CC_CLANG 306 # define Q_CC_CLANG 306
# elif __apple_build_version__ >= 6000051 # elif __apple_build_version__ >= 6000051
# define Q_CC_CLANG 305 # define Q_CC_CLANG 305