Details
-
Bug
-
Resolution: Invalid
-
P0: Blocker
-
5.13.1
-
None
Description
https://codereview.qt-project.org/c/qt/qt5/+/269655 Merge remote-tracking branch 'origin/5.13' into 5.13.1
https://codereview.qt-project.org/c/qt/qt5/+/269656 Update submodules on '5.13.1' in qt5
https://testresults.qt.io/coin/integration/qt/qt5/tasks/1565093945
agent:2019/08/06 12:26:37 build.go:240: In file included from /home/qt/work/install/include/QtCore/qvariant.h:47:0, agent:2019/08/06 12:26:37 build.go:240: from api/qscriptclass.h:29: agent:2019/08/06 12:26:37 build.go:240: /home/qt/work/install/include/QtCore/qmap.h: In instantiation of ‘QMapData<Key, T>::Node* QMapData<Key, T>::end() [with Key = QString; T = QVariant; QMapData<Key, T>::Node = QMapNode<QString, QVariant>]’: agent:2019/08/06 12:26:37 build.go:240: /home/qt/work/install/include/QtCore/qmap.h:803:11: required from ‘QMap<K, V>::iterator QMap<K, V>::insertMulti(const Key&, const T&) [with Key = QString; T = QVariant]’ agent:2019/08/06 12:26:37 build.go:240: /home/qt/work/install/include/QtCore/qvariant.h:828:66: required from here agent:2019/08/06 12:26:37 build.go:240: /home/qt/work/install/include/QtCore/qmap.h:215:26: error: cast from ‘QMapNodeBase*’ to ‘QMapData<QString, QVariant>::Node* {aka QMapNode<QString, QVariant>*}’ increases required alignment of target type [-Werror=cast-align] agent:2019/08/06 12:26:37 build.go:240: Node *end() { return reinterpret_cast<Node *>(&header); } agent:2019/08/06 12:26:37 build.go:240: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ agent:2019/08/06 12:26:37 build.go:240: In file included from /home/qt/work/install/include/QtCore/qvariant.h:45:0, agent:2019/08/06 12:26:37 build.go:240: from api/qscriptclass.h:29: agent:2019/08/06 12:26:37 build.go:240: /home/qt/work/install/include/QtCore/qlist.h: In instantiation of ‘void QList<T>::node_destruct(QList<T>::Node*, QList<T>::Node*) [with T = QVariant]’: agent:2019/08/06 12:26:37 build.go:240: /home/qt/work/install/include/QtCore/qlist.h:884:18: required from ‘void QList<T>::dealloc(QListData::Data*) [with T = QVariant]’ agent:2019/08/06 12:26:37 build.go:240: /home/qt/work/install/include/QtCore/qlist.h:846:16: required from ‘QList<T>::~QList() [with T = QVariant]’ agent:2019/08/06 12:26:37 build.go:240: /home/qt/work/install/include/QtCore/qvariant.h:792:30: required from here agent:2019/08/06 12:26:37 build.go:240: /home/qt/work/install/include/QtCore/qlist.h:515:34: error: cast from ‘QList<QVariant>::Node*’ to ‘QVariant*’ increases required alignment of target type [-Werror=cast-align] agent:2019/08/06 12:26:37 build.go:240: while (from != to) --to, reinterpret_cast<T*>(to)->~T(); agent:2019/08/06 12:26:37 build.go:240: ^~~~~~~~~~~~~~~~~~~~~~~~ agent:2019/08/06 12:26:37 build.go:240: /home/qt/work/install/include/QtCore/qlist.h: In instantiation of ‘void QList<T>::node_copy(QList<T>::Node*, QList<T>::Node*, QList<T>::Node*) [with T = QVariant]’: agent:2019/08/06 12:26:37 build.go:240: /home/qt/work/install/include/QtCore/qlist.h:807:18: required from ‘void QList<T>::detach_helper(int) [with T = QVariant]’ agent:2019/08/06 12:26:37 build.go:240: /home/qt/work/install/include/QtCore/qlist.h:591:26: required from ‘void QList<T>::reserve(int) [with T = QVariant]’ agent:2019/08/06 12:26:37 build.go:240: /home/qt/work/install/include/QtCore/qvariant.h:793:38: required from here agent:2019/08/06 12:26:37 build.go:240: /home/qt/work/install/include/QtCore/qlist.h:494:34: error: cast from ‘QList<QVariant>::Node*’ to ‘QVariant*’ increases required alignment of target type [-Werror=cast-align] agent:2019/08/06 12:26:37 build.go:240: new (current) T(*reinterpret_cast<T*>(src)); agent:2019/08/06 12:26:37 build.go:240: ^~~~~~~~~~~~~~~~~~~~~~~~~ agent:2019/08/06 12:26:37 build.go:240: /home/qt/work/install/include/QtCore/qlist.h:500:18: error: cast from ‘QList<QVariant>::Node*’ to ‘QVariant*’ increases required alignment of target type [-Werror=cast-align] agent:2019/08/06 12:26:37 build.go:240: (reinterpret_cast<T*>(current))->~T(); agent:2019/08/06 12:26:37 build.go:240: ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ agent:2019/08/06 12:26:37 build.go:240: /home/qt/work/install/include/QtCore/qlist.h: In instantiation of ‘void QList<T>::node_construct(QList<T>::Node*, const T&) [with T = QVariant]’: agent:2019/08/06 12:26:37 build.go:240: /home/qt/work/install/include/QtCore/qlist.h:603:27: required from ‘void QList<T>::append(const T&) [with T = QVariant]’ agent:2019/08/06 12:26:37 build.go:240: /home/qt/work/install/include/QtCore/qlist.h:404:13: required from ‘QList<T>& QList<T>::operator<<(const T&) [with T = QVariant]’ agent:2019/08/06 12:26:37 build.go:240: /home/qt/work/install/include/QtCore/qvariant.h:795:27: required from here agent:2019/08/06 12:26:37 build.go:240: /home/qt/work/install/include/QtCore/qlist.h:460:11: error: cast from ‘QList<QVariant>::Node*’ to ‘QVariant*’ increases required alignment of target type [-Werror=cast-align] agent:2019/08/06 12:26:37 build.go:240: else *reinterpret_cast<T*>(n) = t; agent:2019/08/06 12:26:37 build.go:240: ^~~~~~~~~~~~~~~~~~~~~~~ agent:2019/08/06 12:26:37 build.go:240: /home/qt/work/install/include/QtCore/qlist.h: In instantiation of ‘void QList<T>::node_destruct(QList<T>::Node*) [with T = QVariant]’: agent:2019/08/06 12:26:37 build.go:240: /home/qt/work/install/include/QtCore/qlist.h:623:30: required from ‘void QList<T>::append(const T&) [with T = QVariant]’ agent:2019/08/06 12:26:37 build.go:240: /home/qt/work/install/include/QtCore/qlist.h:404:13: required from ‘QList<T>& QList<T>::operator<<(const T&) [with T = QVariant]’ agent:2019/08/06 12:26:37 build.go:240: /home/qt/work/install/include/QtCore/qvariant.h:795:27: required from here agent:2019/08/06 12:26:37 build.go:240: /home/qt/work/install/include/QtCore/qlist.h:471:39: error: cast from ‘QList<QVariant>::Node*’ to ‘QVariant*’ increases required alignment of target type [-Werror=cast-align] agent:2019/08/06 12:26:37 build.go:240: else if (QTypeInfo<T>::isComplex) reinterpret_cast<T*>(n)->~T(); agent:2019/08/06 12:26:37 build.go:240: ^~~~~~~~~~~~~~~~~~~~~~~ agent:2019/08/06 12:26:37 build.go:240: In file included from /home/qt/work/install/include/QtCore/qvariant.h:48:0, agent:2019/08/06 12:26:37 build.go:240: from api/qscriptclass.h:29: agent:2019/08/06 12:26:37 build.go:240: /home/qt/work/install/include/QtCore/qhash.h: In instantiation of ‘static QHash<K, V>::Node* QHash<K, V>::concrete(QHashData::Node*) [with Key = QString; T = QVariant; QHash<K, V>::Node = QHashNode<QString, QVariant>]’: agent:2019/08/06 12:26:37 build.go:240: /home/qt/work/install/include/QtCore/qhash.h:547:13: required from ‘static void QHash<K, V>::deleteNode2(QHashData::Node*) [with Key = QString; T = QVariant]’ agent:2019/08/06 12:26:37 build.go:240: /home/qt/work/install/include/QtCore/qhash.h:587:19: required from ‘void QHash<K, V>::freeData(QHashData*) [with Key = QString; T = QVariant]’ agent:2019/08/06 12:26:37 build.go:240: /home/qt/work/install/include/QtCore/qhash.h:254:45: required from ‘QHash<K, V>::~QHash() [with Key = QString; T = QVariant]’ agent:2019/08/06 12:26:37 build.go:240: /home/qt/work/install/include/QtCore/qvariant.h:809:30: required from here agent:2019/08/06 12:26:37 build.go:240: /home/qt/work/install/include/QtCore/qhash.h:237:16: error: cast from ‘QHashData::Node*’ to ‘QHash<QString, QVariant>::Node* {aka QHashNode<QString, QVariant>*}’ increases required alignment of target type [-Werror=cast-align] agent:2019/08/06 12:26:37 build.go:240: return reinterpret_cast<Node *>(node); agent:2019/08/06 12:26:37 build.go:240: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ agent:2019/08/06 12:26:37 build.go:240: In file included from /home/qt/work/install/include/QtCore/qvariant.h:47:0, agent:2019/08/06 12:26:37 build.go:240: from api/qscriptclass.h:29: agent:2019/08/06 12:26:37 build.go:240: /home/qt/work/install/include/QtCore/qmap.h: In instantiation of ‘const QMapNode<Key, T>* QMapNode<Key, T>::nextNode() const [with Key = QString; T = QVariant]’: agent:2019/08/06 12:26:37 build.go:240: /home/qt/work/install/include/QtCore/qmap.h:494:15: required from ‘QMap<K, V>::const_iterator& QMap<K, V>::const_iterator::operator++() [with Key = QString; T = QVariant]’ agent:2019/08/06 12:26:37 build.go:240: /opt/yocto-armv7/sysroots/armv7ahf-neon-poky-linux-gnueabi/usr/include/c++/7.3.0/bits/stl_iterator_base_funcs.h:89:4: required from ‘constexpr typename std::iterator_traits<_Iterator>::difference_type std::__distance(_InputIterator, _InputIterator, std::input_iterator_tag) [with _InputIterator = QMap<QString, QVariant>::const_iterator; typename std::iterator_traits<_Iterator>::difference_type = int]’ agent:2019/08/06 12:26:37 build.go:240: /opt/yocto-armv7/sysroots/armv7ahf-neon-poky-linux-gnueabi/usr/include/c++/7.3.0/bits/stl_iterator_base_funcs.h:141:29: required from ‘typename std::iterator_traits<_Iterator>::difference_type std::distance(_InputIterator, _InputIterator) [with _InputIterator = QMap<QString, QVariant>::const_iterator; typename std::iterator_traits<_Iterator>::difference_type = int]’ agent:2019/08/06 12:26:37 build.go:240: /home/qt/work/install/include/QtCore/qmetatype.h:1200:31: required from ‘static int QtMetaTypePrivate::QAssociativeIterableImpl::sizeImpl(const void*) [with T = QMap<QString, QVariant>]’ agent:2019/08/06 12:26:37 build.go:240: /home/qt/work/install/include/QtCore/qmetatype.h:1245:68: required from ‘QtMetaTypePrivate::QAssociativeIterableImpl::QAssociativeIterableImpl(const T*) [with T = QMap<QString, QVariant>]’ agent:2019/08/06 12:26:37 build.go:240: /home/qt/work/install/include/QtCore/qvariant.h:776:140: required from here agent:2019/08/06 12:26:37 build.go:240: /home/qt/work/install/include/QtCore/qmap.h:118:54: error: cast from ‘const QMapNodeBase*’ to ‘const QMapNode<QString, QVariant>*’ increases required alignment of target type [-Werror=cast-align] agent:2019/08/06 12:26:37 build.go:240: inline const QMapNode *nextNode() const { return reinterpret_cast<const QMapNode *>(QMapNodeBase::nextNode()); } agent:2019/08/06 12:26:37 build.go:240: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ agent:2019/08/06 12:26:37 build.go:240: cc1plus: all warnings being treated as errors ...
Attachments
Issue Links
- resulted from
-
COIN-330 excess quotes on configure arguments on QEMU-ARMv7
- Closed
For Gerrit Dashboard: QTBUG-77347 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
269756,1 | QMap: suppress the warning of alignment increase | 5.13.1 | qt/qtbase | Status: ABANDONED | 0 | 0 |