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:
parent
cb6cba2b6f
commit
7d5e849e28
@ -155,7 +155,7 @@
|
||||
/* Clang also masquerades as GCC */
|
||||
# if defined(__apple_build_version__)
|
||||
# /* http://en.wikipedia.org/wiki/Xcode#Toolchain_Versions */
|
||||
# if __apple_build_version__ >= 6020049
|
||||
# if __apple_build_version__ >= 7000053
|
||||
# define Q_CC_CLANG 306
|
||||
# elif __apple_build_version__ >= 6000051
|
||||
# define Q_CC_CLANG 305
|
||||
|
Loading…
Reference in New Issue
Block a user