Re: attica build failure

Adriaan de Groot <[email protected]> Fri, 27 Nov 2009 09:44:14 +0100
Newsgroups gmane.comp.kde.solaris
Organization KDE e.V.
Message-ID <[email protected]>
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]
___________________________________________________
This message is from the kde-solaris mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde-solaris.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.