From 1616001d72483d236a0430e6b4ac7bf18c979099 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Sat, 8 Sep 2012 16:30:28 +0200 Subject: [PATCH] Add support for the Intel Composer XE 2013. ICC 13.0 adds some new C++11 features that we can now support. Change-Id: Ia870a3bb0172ff124983725300e8f9bf2e325ec6 Reviewed-by: Olivier Goffart --- src/corelib/global/qcompilerdetection.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/corelib/global/qcompilerdetection.h b/src/corelib/global/qcompilerdetection.h index b76a2ed978..42c7d04128 100644 --- a/src/corelib/global/qcompilerdetection.h +++ b/src/corelib/global/qcompilerdetection.h @@ -483,6 +483,12 @@ # define Q_COMPILER_UNICODE_STRINGS # define Q_COMPILER_VARIADIC_TEMPLATES # endif +# if __INTEL_COMPILER >= 1300 +// constexpr support is only partial +//# define Q_COMPILER_CONSTEXPR +# define Q_COMPILER_INITIALIZER_LISTS +# define Q_COMPILER_NOEXCEPT +# endif # endif #endif