[PyQt] PyKDE 4.4.4 build failure after switching sip

Hans-Peter Jansen hpj at urpla.net
Sat Jul 31 17:00:05 BST 2010


Hi Phil,

during the course of refreshing my PyQt builds, I've switched from 
sip 4.10.2 to 4.10.5. 

Now, the formerly fine PyKDE build from KDE 4.4.4 bail out with:

/usr/include/akonadi/kmime/addressattribute.h: 
In member function 'Akonadi::AddressAttribute& Akonadi::AddressAttribute:
:operator=(const Akonadi::AddressAttribute&)':
/usr/include/akonadi/kmime/addressattribute.h:43: 
error: non-static const member 'Akonadi::AddressAttribute::Private* const Akonadi::AddressAttribute::d', 
can't use default assignment operator
sipakonadipart2.cpp: In function 'void assign_Akonadi_AddressAttribute(void*, Py_ssize_t, const void*)':
sipakonadipart2.cpp:6921: note: 
synthesized method 'Akonadi::AddressAttribute& Akonadi::AddressAttribute::operator=(const Akonadi::AddressAttribute&)' 
first required here 

The generated source excerpt:

extern "C" {static void assign_Akonadi_AddressAttribute(void *, SIP_SSIZE_T, const void *);}
static void assign_Akonadi_AddressAttribute(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<Akonadi::AddressAttribute *>(sipDst)[sipDstIdx] = *reinterpret_cast<const Akonadi::AddressAttribute *>(sipSrc);
}

Any idea, what's going wrong now?

Thanks,
Pete

-------------- next part --------------
A non-text attachment was scrubbed...
Name: addressattribute.sip
Type: text/x-c++src
Size: 2998 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20100731/577b4460/attachment.c>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: addressattribute.h
Type: text/x-c++hdr
Size: 2864 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20100731/577b4460/attachment.h>


More information about the PyQt mailing list