summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2009-07-21 12:06:07 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2009-07-21 12:07:11 (GMT)
commitf616cebd67a6044d6e26d57bc26975ee153479ea (patch)
tree71eb9627740032b051989c45d524357b7259e6ea
parent2c1e529e4d9edf9892d9a8d30806ecdfa8d093a3 (diff)
downloadQt-f616cebd67a6044d6e26d57bc26975ee153479ea.zip
Qt-f616cebd67a6044d6e26d57bc26975ee153479ea.tar.gz
Qt-f616cebd67a6044d6e26d57bc26975ee153479ea.tar.bz2
Disable visibility on CC 5.9 since the compiler doesn't like it
-rw-r--r--src/corelib/global/qglobal.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/corelib/global/qglobal.h b/src/corelib/global/qglobal.h
index 0ef48fa..866247a 100644
--- a/src/corelib/global/qglobal.h
+++ b/src/corelib/global/qglobal.h
@@ -665,7 +665,8 @@ namespace QT_NAMESPACE {}
# define Q_ALIGNOF(type) __alignof__(type)
# define Q_TYPEOF(expr) __typeof__(expr)
# define Q_DECL_ALIGN(n) __attribute__((__aligned__(n)))
-# define Q_DECL_EXPORT __attribute__((__visibility__("default")))
+// using CC 5.9: Warning: attribute visibility is unsupported and will be skipped..
+//# define Q_DECL_EXPORT __attribute__((__visibility__("default")))
# endif
# if !defined(_BOOL)
# define Q_NO_BOOL_TYPE