Enable variadic macros if building in c++0x mode.

Change-Id: I40d1f1f64ad31a299ccad9258f70e9bf3255c3cd
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
bb10
Stephen Kelly 2011-12-27 15:06:57 +01:00 committed by Qt by Nokia
parent b4557829f4
commit fb9b5d65d8
1 changed files with 1 additions and 0 deletions

View File

@ -482,6 +482,7 @@ namespace QT_NAMESPACE {}
# if defined(__GXX_EXPERIMENTAL_CXX0X__)
# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 403
/* C++0x features supported in GCC 4.3: */
# define Q_COMPILER_VARIADIC_MACROS
# define Q_COMPILER_RVALUE_REFS
# define Q_COMPILER_DECLTYPE
# define Q_COMPILER_STATIC_ASSERT