diff options
author | Sergio Ahumada <sergio.ahumada@digia.com> | 2013-07-30 11:33:58 (GMT) |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-07-30 15:21:50 (GMT) |
commit | 587d832f715771b80e31f35372efc60f09316d55 (patch) | |
tree | f1acfe3d7c1534d321418f94694f470d8f4b4479 /src | |
parent | 8530095108df75256c5fe26cb7ddaa25368b4d1a (diff) | |
download | Qt-587d832f715771b80e31f35372efc60f09316d55.zip Qt-587d832f715771b80e31f35372efc60f09316d55.tar.gz Qt-587d832f715771b80e31f35372efc60f09316d55.tar.bz2 |
Sun CC 5.10 supports Template-Template Parameters
See http://www.oracle.com/technetwork/systems/cccompare-137792.html
Task-number: QTBUG-18879
Change-Id: Icb08771527a718c1ce4f0919116c3834cf979be4
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/corelib/global/qglobal.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/corelib/global/qglobal.h b/src/corelib/global/qglobal.h index 15912a4..d4bfd2b 100644 --- a/src/corelib/global/qglobal.h +++ b/src/corelib/global/qglobal.h @@ -718,8 +718,10 @@ namespace QT_NAMESPACE {} in which case _BOOL is not defined this is the default in 4.2 compatibility mode triggered by -compat=4 */ # if __SUNPRO_CC >= 0x500 -# define QT_NO_TEMPLATE_TEMPLATE_PARAMETERS - /* see http://developers.sun.com/sunstudio/support/Ccompare.html */ +# if __SUNPRO_CC < 0x590 +# define QT_NO_TEMPLATE_TEMPLATE_PARAMETERS + /* see http://www.oracle.com/technetwork/systems/cccompare-137792.html */ +# endif # if __SUNPRO_CC >= 0x590 # define Q_ALIGNOF(type) __alignof__(type) # define Q_TYPEOF(expr) __typeof__(expr) |