Give ICC-as-Clang a Q_CC_CLANG version number too
Give it version number 3.5 for current compatibility. Change-Id: Ia023d29b3b3946f8642a0550279ae63cbb803fc5 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@theqtcompany.com>
This commit is contained in:
parent
2bdcea9d31
commit
9d9b785259
@ -145,6 +145,10 @@
|
||||
# if defined(__INTEL_COMPILER)
|
||||
/* Intel C++ also masquerades as GCC */
|
||||
# define Q_CC_INTEL (__INTEL_COMPILER)
|
||||
# ifdef __clang__
|
||||
/* Intel C++ masquerades as Clang masquerading as GCC */
|
||||
# define Q_CC_CLANG 305
|
||||
# endif
|
||||
# define Q_ASSUME_IMPL(expr) __assume(expr)
|
||||
# define Q_UNREACHABLE_IMPL() __builtin_unreachable()
|
||||
# if __INTEL_COMPILER >= 1300 && !defined(__APPLE__)
|
||||
|
Loading…
x
Reference in New Issue
Block a user