summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qglobal.h
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2009-07-24 17:38:19 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2009-07-27 14:14:20 (GMT)
commitf7e837ae1534b519bbe604fbb1eef22c35d37de1 (patch)
treeeacebecaf363e06f28da32553b5a1263a238531e /src/corelib/global/qglobal.h
parente2d4cd1536345fc51b509affba45041f2cf1752f (diff)
downloadQt-f7e837ae1534b519bbe604fbb1eef22c35d37de1.zip
Qt-f7e837ae1534b519bbe604fbb1eef22c35d37de1.tar.gz
Qt-f7e837ae1534b519bbe604fbb1eef22c35d37de1.tar.bz2
Sun CC 5.9 still doesn't support Template-Template Parameters
I had added the version check when we only had CC 5.5 and 5.6, expecting that 5.7 would have the support. And if it didn't, then someone would notice the compile error in QtConcurrent, bumping the version number here. Except that QtConcurrent was never enabled with Sun CC. Which meant that we never got to test TTP support. Reviewed-By: Bradley T. Hughes
Diffstat (limited to 'src/corelib/global/qglobal.h')
-rw-r--r--src/corelib/global/qglobal.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/corelib/global/qglobal.h b/src/corelib/global/qglobal.h
index 461bd36..3625f2b 100644
--- a/src/corelib/global/qglobal.h
+++ b/src/corelib/global/qglobal.h
@@ -653,9 +653,7 @@ 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
-# if __SUNPRO_CC < 0x570
-# define QT_NO_TEMPLATE_TEMPLATE_PARAMETERS
-# endif
+# define QT_NO_TEMPLATE_TEMPLATE_PARAMETERS
/* see http://developers.sun.com/sunstudio/support/Ccompare.html */
# if __SUNPRO_CC >= 0x590
# define Q_ALIGNOF(type) __alignof__(type)