Add the GCC 4.8 C++11 feature list
authorThiago Macieira <thiago.macieira@intel.com>
Fri, 9 Nov 2012 12:08:35 +0000 (13:08 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Sat, 10 Nov 2012 12:38:00 +0000 (13:38 +0100)
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>
src/corelib/global/qcompilerdetection.h

index 0cce9e8..7fae3d9 100644 (file)
 #      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