Bug 247581 - build fails - Non-const function called for const object.
Summary: build fails - Non-const function called for const object.
Status: RESOLVED WORKSFORME
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 4.5
Platform: Compiled Sources Solaris
: NOR normal
Target Milestone: ---
Assignee: Volker Krause
URL:
Keywords: investigated, triaged
Depends on:
Blocks:
 
Reported: 2010-08-13 00:05 UTC by tropikhajma
Modified: 2018-10-21 04:45 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tropikhajma 2010-08-13 00:05:40 UTC
Version:           4.5 (using Devel) 
OS:                Solaris

build of kdebase-workspace fails with
...
"/export/home/test/Dashboards/installs/2.8.1/kdepimlibs/include/KDE/Akonadi/../../akonadi/itempayloadinternals_p.h", line 70: Error: Non-const function KCal::Incidence::clone() called for const object.
"/export/home/test/Dashboards/installs/2.8.1/kdepimlibs/include/KDE/Akonadi/../../akonadi/itempayloadinternals_p.h", line 213:     Where: While instantiating "static Akonadi::Internal::clone_traits_helper<KCal::Incidence, 1>::clone(const KCal::Incidence*)".
"/export/home/test/Dashboards/installs/2.8.1/kdepimlibs/include/KDE/Akonadi/../../akonadi/itempayloadinternals_p.h", line 213:     Where: Instantiated from static Akonadi::Internal::PayloadTrait<boost::shared_ptr<KCal::Incidence>>::clone(const QSharedPointer<KCal::Incidence>&).
"/export/home/test/Dashboards/installs/2.8.1/kdepimlibs/include/KDE/Akonadi/../../akonadi/item.h", line 547:     Where: Instantiated from Akonadi::Item::tryToClone<boost::shared_ptr<KCal::Incidence>>(boost::shared_ptr<KCal::Incidence>*, const int*) const.
"/export/home/test/Dashboards/installs/2.8.1/kdepimlibs/include/KDE/Akonadi/../../akonadi/item.h", line 525:     Where: Instantiated from Akonadi::Item::payloadImpl<boost::shared_ptr<KCal::Incidence>>() const.
"/export/home/test/Dashboards/installs/2.8.1/kdepimlibs/include/KDE/Akonadi/../../akonadi/item.h", line 503:     Where: Instantiated from Akonadi::Item::payloadImpl<boost::shared_ptr<KCal::Event>>(const int*) const.
"/export/home/test/Dashboards/installs/2.8.1/kdepimlibs/include/KDE/Akonadi/../../akonadi/item.h", line 489:     Where: Instantiated from Akonadi::Item::payload<boost::shared_ptr<KCal::Event>>() const.
"/export/home/test/Dashboards/kdebase-workspace/srcdir/plasma/generic/dataengines/calendar/eventdatacontainer.cpp", line 66:     Where: Instantiated from non-template code.
1 Error(s) detected.

(see http://my.cdash.org/viewBuildError.php?buildid=88256)

this is on opensolaris b134 using the sun studio 12u1 compiler

Reproducible: Always
Comment 1 Tobias Koenig 2010-10-08 15:05:38 UTC
Fixed in the meantime?
Comment 2 Andrew Crouthamel 2018-09-20 21:56:59 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Andrew Crouthamel 2018-10-21 04:45:46 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!