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

List:       koffice
Subject:    Bug#33002: Cannot compile lib/formulacursor.cc, unknown problem
From:       Aaron Williams <aaron_williams () net ! com>
Date:       2001-09-27 20:48:46
[Download RAW message or body]


David Faure wrote:
> 
> 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.

Moving the typedef does not help.  I am using libstdc++ version 2.10.  I
am using GCC 2.95.3 with --enable-shared when configuring it.  I used
this same setup to compile all of the KDE 2.2.1 modules without much
difficulty and for QT.

-Aaron
["aaron_williams.vcf" (text/x-vcard)]

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

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