[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    Bug#33002: Cannot compile lib/formulacursor.cc, unknown problem
From:       David Faure <david () mandrakesoft ! com>
Date:       2001-09-27 20:19:16
[Download RAW message or body]

On Jeudi 27 Septembre 2001 21:42, Aaron Williams wrote:
> I am unable to compile koffice for Solaris.  I am using QT 2.3.1 and KDE 
> 2.2.1, both of which I compiled from sources without too many problems.  I do 
> not know why gcc is complaining about formulacursor.cc.

Which version of gcc, and with which version of libstdc++ ?

> elementindex.h:32: syntax error before `;'

typedef std::auto_ptr<ElementIndex> ElementIndexPtr;

Given that <memory> is included previously, std::auto_ptr should be known.
Does it help if you move this typedef to the end of this file 
(after }; and before KFORMULA_NAMESPACE_END) ?

David.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic