Add support for the Intel Composer XE 2013.
authorThiago Macieira <thiago.macieira@intel.com>
Sat, 8 Sep 2012 14:30:28 +0000 (16:30 +0200)
committerQt by Nokia <qt-info@nokia.com>
Sat, 8 Sep 2012 15:24:18 +0000 (17:24 +0200)
ICC 13.0 adds some new C++11 features that we can now support.

Change-Id: Ia870a3bb0172ff124983725300e8f9bf2e325ec6
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
src/corelib/global/qcompilerdetection.h

index b76a2ed..42c7d04 100644 (file)
 #      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