Details
-
Bug
-
Resolution: Out of scope
-
P3: Somewhat important
-
None
-
4.8.5
-
None
Description
Trying to build Qt 4.8.5 on HP-UX 11.23/IA and 11.31/IA with the HP C++ compiler and running into the following error:
aCC -c -AA +O2 +Onolimit -D_STRICT_ANSI_ -I/opt/TWWfsw/cups154/include -I/opt/TWWfsw/dbus16/include -I/opt/TWWfsw/fcpackage210/include -I/opt/TWWfsw/libjpeg8/include -I/opt/TWWfsw/libiconv113/include -I/opt/TWWfsw/libglib230/include -I/opt/TWWfsw/libglib230/lib/include -I/opt/TWWfsw/libmng10/include -I/opt/TWWfsw/libpng14/include -I/opt/TWWfsw/libsqlite37/include -I/opt/TWWfsw/libtiff40/include -I/opt/TWWfsw/libttf24/include -I/opt/TWWfsw/libttf24/include/freetype2 -I/opt/TWWfsw/mysql5533r/include -I/opt/TWWfsw/libopenssl10/include -I/opt/TWWfsw/pgsql924r/include -I/opt/TWWfsw/libz12/include -mt -I/opt/TWWfsw/gettext018/include -I/opt/TWWfsw/libglib230/include -I/opt/TWWfsw/libglib230/lib/include +O2 +Onolimit -D_POSIX_C_SOURCE=199506L -D_REENTRANT -mt +Z -DQT_SHARED -DQT_BUILD_CORE_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQLIBRARYINFO_EPOCROOT -DHB_EXPORT=Q_CORE_EXPORT -DGNU_LIBICONV -DQT_NO_DEBUG -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/hpuxi-acc-32 -I. -I../../include -I../../include/QtCore -I.rcc/release-shared -Iglobal -I../../tools/shared -I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4 -I.moc/release-shared -o .obj/release-shared/qabstractanimation.o animation/qabstractanimation.cpp
"../../include/QtCore/../../src/corelib/tools/qbytearray.h", line 394: error #3098:
attributes may not appear here
friend Q_CORE_EXPORT QByteArray qUncompress(const uchar *data, int nbytes);
^
"../../include/QtCore/../../src/corelib/kernel/qobject.h", line 113: error #3098:
attributes may not appear here
Q_OBJECT
^
"../../include/QtCore/../../src/corelib/kernel/qobject.h", line 113: error #3098:
attributes may not appear here
Q_OBJECT
^
"animation/qabstractanimation.h", line 62: error #3098: attributes may not
appear here
Q_OBJECT
^
"animation/qabstractanimation.h", line 62: error #3098: attributes may not
appear here
Q_OBJECT
^
"animation/qabstractanimation.h", line 139: error #3098: attributes may not
appear here
Q_OBJECT
^
"animation/qabstractanimation.h", line 139: error #3098: attributes may not
appear here
Q_OBJECT
^
"animation/qanimationgroup.h", line 58: error #3098: attributes may not appear
here
Q_OBJECT
^
"animation/qanimationgroup.h", line 58: error #3098: attributes may not appear
here
Q_OBJECT
^
"../../include/QtCore/../../src/corelib/io/qiodevice.h", line 72: error #3098:
attributes may not appear here
Q_OBJECT
^
"../../include/QtCore/../../src/corelib/io/qiodevice.h", line 72: error #3098:
attributes may not appear here
Q_OBJECT
^
"../../include/QtCore/../../src/corelib/kernel/qvariant.h", line 415: error #3098:
attributes may not appear here
friend Q_CORE_EXPORT QDebug operator<<(QDebug, const QVariant &);
^
"../../include/QtCore/../../src/corelib/tools/qsharedpointer_impl.h", line 201: error #3098:
attributes may not appear here
Q_CORE_EXPORT static ExternalRefCountData *getAndRef(const QObject *);
^
"../../include/QtCore/../../src/corelib/tools/qsharedpointer_impl.h", line 202: error #3098:
attributes may not appear here
Q_CORE_EXPORT void setQObjectShared(const QObject *, bool enable);
^
"../../include/QtCore/../../src/corelib/tools/qdatetime.h", line 142: error #3098:
attributes may not appear here
friend Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, const QDate &);
^
"../../include/QtCore/../../src/corelib/tools/qdatetime.h", line 143: error #3098:
attributes may not appear here
friend Q_CORE_EXPORT QDataStream &operator>>(QDataStream &, QDate &);
^
"../../include/QtCore/../../src/corelib/tools/qdatetime.h", line 208: error #3098:
attributes may not appear here
friend Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, const QTime &);
^
"../../include/QtCore/../../src/corelib/tools/qdatetime.h", line 209: error #3098:
attributes may not appear here
friend Q_CORE_EXPORT QDataStream &operator>>(QDataStream &, QTime &);
^
"../../include/QtCore/../../src/corelib/tools/qdatetime.h", line 297: error #3098:
attributes may not appear here
friend Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, const QDateTime &);
^
"../../include/QtCore/../../src/corelib/tools/qdatetime.h", line 298: error #3098:
attributes may not appear here
friend Q_CORE_EXPORT QDataStream &operator>>(QDataStream &, QDateTime &);
^
"../../include/QtCore/../../src/corelib/kernel/qtimer.h", line 58: error #3098:
attributes may not appear here
Q_OBJECT
^
"../../include/QtCore/../../src/corelib/kernel/qtimer.h", line 58: error #3098:
attributes may not appear here
Q_OBJECT
^
"../../include/QtCore/../../src/corelib/tools/qelapsedtimer.h", line 84: error #3098:
attributes may not appear here
friend bool Q_CORE_EXPORT operator<(const QElapsedTimer &v1, const QElapsedTimer &v2);
^
"animation/qabstractanimation_p.h", line 122: error #3098: attributes may not
appear here
Q_OBJECT
^
"animation/qabstractanimation_p.h", line 122: error #3098: attributes may not
appear here
Q_OBJECT
^
"../../include/QtCore/../../src/corelib/arch/qatomic_ia64.h", line 762: warning #3053-D:
conversion from integer to smaller pointer
T *ret = (T *)_Asm_cmpxchg((_Asm_sz)_SZ_W, (_Asm_sem)_SEM_ACQ,
^
detected during:
instantiation of "bool QBasicAtomicPointer<T>::testAndSetAcquire(T
*, T *) [with T=QThreadStorage<QUnifiedTimer *>]" at
line 862
instantiation of "bool QBasicAtomicPointer<T>::testAndSetOrdered(T
*, T *) [with T=QThreadStorage<QUnifiedTimer *>]" at
line 165 of "animation/qabstractanimation.cpp"
"../../include/QtCore/../../src/corelib/tools/qlist.h", line 433: warning #4232-D:
conversion from "QList<QVariant>::Node *" to a more strictly aligned
type "QVariant *" may cause misaligned access
while (from != to) -to, reinterpret_cast<T*>(to)>~T();
^
detected during:
instantiation of "void QList<T>::node_destruct(QList<T>::Node *,
QList<T>::Node *) [with T=QVariant]" at line 758
instantiation of "void QList<T>::free(QListData::Data *) [with
T=QVariant]" at line 732
instantiation of "QList<T>::~QList() [with T=QVariant]" at line
105 of
"../../include/QtCore/private/../../../src/corelib/kernel
/qobject_p.h"
25 errors detected in the compilation of "animation/qabstractanimation.cpp".
gmake[1]: *** [.obj/release-shared/qabstractanimation.o] Error 2
gmake[1]: Leaving directory `/opt/build/qt-everywhere-opensource-src-4.8.5/src/corelib'
gmake: *** [sub-corelib-make_default-ordered] Error 2