From: Thiago Macieira Date: Fri, 9 Nov 2012 12:08:35 +0000 (+0100) Subject: Add the GCC 4.8 C++11 feature list X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=22c6d13a643053a8209af7f8fe2ec9665814d4d4;p=profile%2Fivi%2Fqtbase.git 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 --- diff --git a/src/corelib/global/qcompilerdetection.h b/src/corelib/global/qcompilerdetection.h index 0cce9e8..7fae3d9 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