summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2012-11-09 13:08:35 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-11-10 13:38:00 +0100
commit22c6d13a643053a8209af7f8fe2ec9665814d4d4 (patch)
tree99b59de5bf4977ae6d0da59cc21f4fc8a9f6e618 /src/corelib
parentd725239c3e09c2b740a093265f6a9675fd2f8524 (diff)
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 <ogoffart@woboq.com>
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/global/qcompilerdetection.h7
1 files changed, 7 insertions, 0 deletions
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