From 676ce97c8c992e22edde41f277edd6633c026ec8 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Fri, 28 Jun 2013 11:23:08 -0700 Subject: Add C++11 features supported by the Intel Compiler 14.0 Change-Id: Ib9789223d487c29c5ce0830afa1f74b66ea6adfe Reviewed-by: Guillermo A. Amaral Reviewed-by: Olivier Goffart --- src/corelib/global/qcompilerdetection.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/corelib/global') diff --git a/src/corelib/global/qcompilerdetection.h b/src/corelib/global/qcompilerdetection.h index 767d41701e..5b6639d56b 100644 --- a/src/corelib/global/qcompilerdetection.h +++ b/src/corelib/global/qcompilerdetection.h @@ -496,6 +496,15 @@ # define Q_COMPILER_INITIALIZER_LISTS # define Q_COMPILER_NOEXCEPT # endif +# if __INTEL_COMPILER >= 1400 +# define Q_COMPILER_CONSTEXPR +# define Q_COMPILER_DELEGATING_CONSTRUCTORS +# define Q_COMPILER_EXPLICIT_OVERRIDES +# define Q_COMPILER_NONSTATIC_MEMBER_INIT +# define Q_COMPILER_RAW_STRINGS +# define Q_COMPILER_REF_QUALIFIERS +# define Q_COMPILER_UNRESTRICTED_UNIONS +# endif # endif #endif -- cgit v1.2.3