[Kde-pim] Re: kdepim-runtime-4.4.9/agents/maildispatcher/outboxqueue.cpp fails to build if <QHash> is included first
Erik
esigra at gmail.com
Sat Jan 1 18:45:42 GMT 2011
2010-12-24 21:52, Erik skrev:
> Steps to reproduce:
> 1. tar jxvf kdepim-runtime-4.4.9.tar.bz2
> 2. cd kdepim-runtime-4.4.9
> 3. mkdir build
> 4. cd build
> 5. cmake -DKDE4_ENABLE_FINAL=ON ..
> 6. make
>
> Actual results:
> In file included from
> kdepim-runtime-4.4.9/build/libkdepim-copy/kdepim-copy_final_cpp.cpp:2:
> kdepim-runtime-4.4.9/libkdepim-copy/calendardiffalgo.cpp: In member
> function "void
> KPIM::CalendarDiffAlgo::diffIncidenceBase(KCal::IncidenceBase*,
> KCal::IncidenceBase*)":
> kdepim-runtime-4.4.9/libkdepim-copy/calendardiffalgo.cpp:117: fel:
> "compareString" deklarerades inte i detta definitionsområde
> kdepim-runtime-4.4.9/libkdepim-copy/calendardiffalgo.cpp:120: fel:
> "compareString" deklarerades inte i detta definitionsområde
>
The attached patches fixes this and one more build failure. But then the
build fails in kdepim-runtime-4.4.9/agents/maildispatcher/outboxqueue.cpp:
In file included from /usr/include/qt4/QtCore/qvariant.h:50,
from /usr/include/qt4/QtCore/QVariant:1,
from /usr/include/kconfig.h:32,
from /usr/include/ksharedconfig.h:25,
from /usr/include/kcomponentdata.h:23,
from /usr/include/KDE/../kapplication.h:45,
from /usr/include/KDE/KApplication:1,
from
/usr/include/KDE/Akonadi/../../akonadi/agentbase.h:29,
from /usr/include/KDE/Akonadi/AgentBase:1,
from
kdepim-runtime-4.4.9/agents/maildispatcher/maildispatcheragent.h:24,
from
kdepim-runtime-4.4.9/agents/maildispatcher/maildispatcheragent.cpp:21,
from
kdepim-runtime-4.4.9/build/agents/maildispatcher/akonadi_maildispatcher_agent_final_cpp.cpp:2:
/usr/include/qt4/QtCore/qhash.h: In member function "QHashNode<Key, T>**
QHash<K, V>::findNode(const Key&, uint*) const [with Key =
Akonadi::Item, T = QHashDummyValue]":
/usr/include/qt4/QtCore/qhash.h:757: instantiated from "QHash<K,
V>::iterator QHash<K, V>::insert(const Key&, const T&) [with Key =
Akonadi::Item, T = QHashDummyValue]"
/usr/include/qt4/QtCore/qset.h:176: instantiated from
"QSet<T>::const_iterator QSet<T>::insert(const T&) [with T = Akonadi::Item]"
kdepim-runtime-4.4.9/agents/maildispatcher/outboxqueue.cpp:186:
instantiated from here
/usr/include/qt4/QtCore/qhash.h:880: fel: ingen funktion som stämmer för
anrop av "qHash(const Akonadi::Item&)"
/usr/include/qt4/QtCore/qhash.h:62: anm: kandidater är: uint qHash(char)
/usr/include/qt4/QtCore/qhash.h:63: anm: uint qHash(uchar)
/usr/include/qt4/QtCore/qhash.h:64: anm: uint
qHash(signed char)
/usr/include/qt4/QtCore/qhash.h:65: anm: uint qHash(ushort)
/usr/include/qt4/QtCore/qhash.h:66: anm: uint qHash(short
int)
/usr/include/qt4/QtCore/qhash.h:67: anm: uint qHash(uint)
/usr/include/qt4/QtCore/qhash.h:68: anm: uint qHash(int)
/usr/include/qt4/QtCore/qhash.h:69: anm: uint qHash(ulong)
/usr/include/qt4/QtCore/qhash.h:77: anm: uint qHash(long int)
/usr/include/qt4/QtCore/qhash.h:78: anm: uint qHash(quint64)
/usr/include/qt4/QtCore/qhash.h:86: anm: uint qHash(qint64)
/usr/include/qt4/QtCore/qhash.h:87: anm: uint qHash(QChar)
/usr/include/qt4/QtCore/qhash.h:88: anm: uint qHash(const
QByteArray&)
/usr/include/qt4/QtDBus/qdbusextratypes.h:60: anm: uint
qHash(const QString&)
/usr/include/qt4/QtCore/qhash.h:90: anm: uint qHash(const
QStringRef&)
/usr/include/qt4/QtCore/qbitarray.h:58: anm: uint
qHash(const QBitArray&)
This problem can be seen in a non-final build by including <QHash>
_first_ in outboxqueue.cpp
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: kdepim-runtime-4.4.9-libkdepim-copy-calendardiffalgo.cpp-fix_build-1.diff
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20110101/407c8adf/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: kdepim-runtime-4.4.9-resources-kolabproxy-distributionlist.cpp-fix_build-1.diff
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20110101/407c8adf/attachment-0001.ksh>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
More information about the kde-pim
mailing list