[Kde-bindings] [Bug 244697] New: pykde4-4.4.92 doesn't compile: can't use default assignment operator

Oldřich Jedlička oldium.pro at seznam.cz
Thu Jul 15 04:28:17 UTC 2010


https://bugs.kde.org/show_bug.cgi?id=244697

           Summary: pykde4-4.4.92 doesn't compile: can't use default
                    assignment operator
           Product: bindings
           Version: unspecified
          Platform: Gentoo Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: NOR
         Component: general
        AssignedTo: kde-bindings at kde.org
        ReportedBy: oldium.pro at seznam.cz


Created an attachment (id=49161)
 --> (http://bugs.kde.org/attachment.cgi?id=49161)
Build log from Gentoo build

Version:           unspecified (using Devel) 
OS:                Linux

I have gcc 4.3.4, kdepimlibs-4.4.92, kdelibs-4.4.92. When compiling
pykde4-4.4.92, I get an error:

...
/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

The problem is assignment operator generated in sipakonadipart2.cpp - the
"Private *const d" attribute cannot be changed in an assignment operator.

The question I cannot answer is if the "const" should/shouldn't be there, so
that the assignment operator cannot/can exist.

Build log from Gentoo build process attached.

If you need more info, please tell me. Putting this to "High" as it doesn't
compile, so pykde4 cannot be used on my system.

Reproducible: Always

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Kde-bindings mailing list