[kde-solaris] attica build failure
Adriaan de Groot
groot at kde.org
Fri Nov 27 09:44:14 CET 2009
On Thursday 26 November 2009 22:34:32 Pavel Heimlich, a.k.a. hajma wrote:
> "/home/hajma/Dashboards/kdesupport/srcdir/attica/lib/itemjob.cpp",
> line 38: Error: In this declaration "p" is of an incomplete type
> "Attica::Message::Parser".
>
This is typically because GCC's STL allows you to instantiate things like
Map<> with forward-declared classes but Sun's (and Apache's) STL does not. So
you get stuff like
class p;
Map<int,p> pmap;
The reason for this is that GCC's STL uses a p* in the implementation of Map<>
and Apache uses a full p. In other words, replace
class p;
by
#include <p.h>
and you're good.
Anyway. It'd be nice also if
- there was documentation on what attica *is*
- there was a release of attica that can be compiled separately before KDE 4.4
comes out
[ade]
More information about the kde-solaris
mailing list