[PyQt] PyKDE 4.4.4 build failure after switching sip

Phil Thompson phil at riverbankcomputing.com
Sat Jul 31 17:05:35 BST 2010


On Sat, 31 Jul 2010 18:00:05 +0200, "Hans-Peter Jansen" <hpj at urpla.net>
wrote:
> 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?

Probably needs a private assignment operator to be defined - but PyKDE4 is
nothing to do with me.

Phil


More information about the PyQt mailing list