| Summary: | build failure - const issue in dataengines/calendar/eventdatacontainer.cpp | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] Akonadi | Reporter: | tropikhajma <tropikhajma> |
| Component: | general | Assignee: | Volker Krause <vkrause> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | aseigo, pim-bugs-null |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Solaris | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
tropikhajma
2010-09-01 01:01:33 UTC
it builds here with trunk akonadi and kdepimlibs. Aaron, works for you, but not for him :) He uses the Solaris compiler, which is much more picky than the GNU compiler. But if you don't feel like fixing it he surely will provide a patch. It is related to kdepim/akonadi ... the below modification to kdepimlibs helped me to proceed. Trying the full build ...
--- /opt/kde4/include/akonadi/itempayloadinternals_p.h.orig 2010-09-06 23:28:24.275353090 +0200
+++ /opt/kde4/include/akonadi/itempayloadinternals_p.h 2010-09-06 23:28:35.947432429 +0200
@@ -70,7 +70,7 @@
template <typename T>
struct clone_traits_helper<T,true> {
- static T * clone( const T * t ) { return t ? t->clone() : 0 ; }
+ static T * clone( T * t ) { return t ? t->clone() : 0 ; }
};
template <typename T>
SVN commit 1172520 by winterz: fix build on Sun Studio compiler. patch from tropikhajma. ..hmmm.. I wonder if doxygen will like this file better now? BUG: 249682 M +1 -1 itempayloadinternals_p.h WebSVN link: http://websvn.kde.org/?view=rev&revision=1172520 |