diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2009-07-27 18:50:05 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2009-07-28 14:07:56 (GMT) |
commit | 657044cefa87d092213308f2706c3770fb916eb7 (patch) | |
tree | 03eded058a0e4678141e5cdf1537c7cd5d2dd138 | |
parent | 8e9921c43ae0b896aee091e1031b4f42c332332b (diff) | |
download | Qt-657044cefa87d092213308f2706c3770fb916eb7.zip Qt-657044cefa87d092213308f2706c3770fb916eb7.tar.gz Qt-657044cefa87d092213308f2706c3770fb916eb7.tar.bz2 |
Sun CC 5.9 does not support template friends
But I'm told 5.10 does.
-rw-r--r-- | src/corelib/global/qglobal.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/corelib/global/qglobal.h b/src/corelib/global/qglobal.h index 3625f2b..4ceabee 100644 --- a/src/corelib/global/qglobal.h +++ b/src/corelib/global/qglobal.h @@ -662,6 +662,9 @@ namespace QT_NAMESPACE {} // using CC 5.9: Warning: attribute visibility is unsupported and will be skipped.. //# define Q_DECL_EXPORT __attribute__((__visibility__("default"))) # endif +# if __SUNPRO_CC < 0x5a0 +# define Q_NO_TEMPLATE_FRIENDS +# endif # if !defined(_BOOL) # define Q_NO_BOOL_TYPE # endif |