From 22c6d13a643053a8209af7f8fe2ec9665814d4d4 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Fri, 9 Nov 2012 13:08:35 +0100 Subject: Add the GCC 4.8 C++11 feature list This list is current at the time of writing. Since GCC 4.8 hasn't finished development, it may still change before the final 4.8.0 release. Change-Id: Ie4a6809bc6680cafcdd0c7a6a2fd6f8be790c8d2 Reviewed-by: Olivier Goffart --- src/corelib/global/qcompilerdetection.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/corelib/global/qcompilerdetection.h b/src/corelib/global/qcompilerdetection.h index 0cce9e89d2..7fae3d9dbc 100644 --- a/src/corelib/global/qcompilerdetection.h +++ b/src/corelib/global/qcompilerdetection.h @@ -647,6 +647,13 @@ # define Q_COMPILER_TEMPLATE_ALIAS # define Q_COMPILER_UDL # endif +# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 +# define Q_COMPILER_ATTRIBUTES +# define Q_COMPILER_ALIGNAS +# define Q_COMPILER_ALIGNOF +# define Q_COMPILER_INHERITING_CONSTRUCTORS +# define Q_COMPILER_THREAD_LOCAL +# endif # endif #endif -- cgit v1.2.3