[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: koffice/kformula and typeinfo
From: Frugal <frugal () fysh ! org>
Date: 1999-03-02 8:44:33
[Download RAW message or body]
Leon Widdershoven wrote:
>
> Hi,
>
> I just tried to compile kformula on my linux box with egcs 1.1.1, and there was
> this error concerning the <typeinfo> include, something like __throw_... already
> declared.
>
> The only way I could solve this problem is by manually hacking
> /usr/include/g++/std/typeinfo.h and commenting out the __throw.. declaration.
> After that, another error occured with the exception header (called by
> typeinfo.h). I commented the #include <exception> out of the typinfo header and
> everything compiled and linked.
>
> Could anybody tell me what is the cause for this behavior (a bug in egcs or so?)
> I don't think it should be normal to hack around standard libary headers:)
I had this exact problem. I think that files 'typeinfo' and 'exception'
in the /usr/include/g++ are put there by mistake by something else.
egcs1.1.1 will put the files under
/usr/lib/gcc-lib/egcs-some-longer-version/include. I found that the best
way is to rename the two files to typeinfo.old and exception.old, egcs
will then use the correct ones.
--
Frugal + The two secrets to success:
+ 1- Don't tell anyone everything.
frugal@fysh.org +
frugal@lspace.org + -13
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic