projects
/
profile
/
ivi
/
qtbase.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b455782
)
Enable variadic macros if building in c++0x mode.
author
Stephen Kelly
<stephen.kelly@kdab.com>
Tue, 27 Dec 2011 14:06:57 +0000
(15:06 +0100)
committer
Qt by Nokia
<qt-info@nokia.com>
Thu, 29 Dec 2011 02:20:53 +0000
(
03:20
+0100)
Change-Id: I40d1f1f64ad31a299ccad9258f70e9bf3255c3cd
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
src/corelib/global/qglobal.h
patch
|
blob
|
history
diff --git
a/src/corelib/global/qglobal.h
b/src/corelib/global/qglobal.h
index
c60796c
..
e75118f
100644
(file)
--- a/
src/corelib/global/qglobal.h
+++ b/
src/corelib/global/qglobal.h
@@
-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