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

List:       koffice
Subject:    compiling problem with kformula
From:       "Geri H." <ge_ha () yahoo ! com>
Date:       1999-03-17 8:41:29
[Download RAW message or body]

Hi!

After long compilation time of egcs with binutils2.9, klibs-snap,
mico, corba I was now able to compile koffice.
Man y application of it compiles fine , but now I have a problem
compiling the kformula:

Following output:

g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../lib/kofficeui
-I../lib/kofficeui -I../lib/kofficecore -I../lib/kofficecore
-I../lib/koml -I../lib/koml -I../lib/store -I../lib/store
-I/home/haeusleg/gnu/kde/include -I/home/haeusleg/gnu/qt/include 
-I/opt/X11R6/include -I/usr/openwin/include
-I/home/haeusleg/gnu/kde/include -I/home/haeusleg/gnu/kde/include/idl 
  -O2 -Wall -c kformula_view.cc

In file included from /home/haeusleg/gnu/lib/g++-include/typeinfo:5,
                 from BasicElement.h:20,
                 from kformula_doc.h:7,
                 from kformula_view.cc:2:
/home/haeusleg/gnu/lib/g++-include/std/typeinfo.h:35: declaration of C
function `void * __throw_type_match_rtti(void *, void *, void *)'
conflicts with
<internal>:35: previous declaration `void *
__throw_type_match_rtti(const void *, const void *, void *)' here
In file included from
/home/haeusleg/gnu/lib/g++-include/std/typeinfo.h:243,
                 from /home/haeusleg/gnu/lib/g++-include/typeinfo:5,
                 from BasicElement.h:20,
                 from kformula_doc.h:7,
                 from kformula_view.cc:2:
/home/haeusleg/gnu/include/g++/stdexcept:44: parse error before `{'
/home/haeusleg/gnu/include/g++/stdexcept:48: virtual outside class
declaration
/home/haeusleg/gnu/include/g++/stdexcept:48: non-member function
`what()' cannot have `const' method qualifier
/home/haeusleg/gnu/include/g++/stdexcept: In function `const char *
what()':
/home/haeusleg/gnu/include/g++/stdexcept:48: `_what' undeclared (first
use this function)
/home/haeusleg/gnu/include/g++/stdexcept:48: (Each undeclared
identifier is reported only once
/home/haeusleg/gnu/include/g++/stdexcept:48: for each function it
appears in.)
/home/haeusleg/gnu/include/g++/stdexcept:48: warning: control reaches
end of non-void function `what()'
/home/haeusleg/gnu/include/g++/stdexcept: At top level:
/home/haeusleg/gnu/include/g++/stdexcept:51: base class `logic_error'
has incomplete type
/home/haeusleg/gnu/include/g++/stdexcept: In method
`domain_error::domain_error(const class string &)':
/home/haeusleg/gnu/include/g++/stdexcept:53: type `logic_error' is not
an immediate basetype for `domain_error'
/home/haeusleg/gnu/include/g++/stdexcept: At top level:
/home/haeusleg/gnu/include/g++/stdexcept:56: base class `logic_error'
has incomplete type
/home/haeusleg/gnu/include/g++/stdexcept: In method
`invalid_argument::invalid_argument(const class string &)':
/home/haeusleg/gnu/include/g++/stdexcept:58: type `logic_error' is not
an immediate basetype for `invalid_argument'
/home/haeusleg/gnu/include/g++/stdexcept: At top level:
/home/haeusleg/gnu/include/g++/stdexcept:61: base class `logic_error'
has incomplete type
/home/haeusleg/gnu/include/g++/stdexcept: In method
`length_error::length_error(const class string &)':
/home/haeusleg/gnu/include/g++/stdexcept:63: type `logic_error' is not
an immediate basetype for `length_error'
/home/haeusleg/gnu/include/g++/stdexcept: At top level:
/home/haeusleg/gnu/include/g++/stdexcept:66: base class `logic_error'
has incomplete type
/home/haeusleg/gnu/include/g++/stdexcept: In method
`out_of_range::out_of_range(const class string &)':
/home/haeusleg/gnu/include/g++/stdexcept:68: type `logic_error' is not
an immediate basetype for `out_of_range'
/home/haeusleg/gnu/include/g++/stdexcept: At top level:
/home/haeusleg/gnu/include/g++/stdexcept:71: parse error before `{'
/home/haeusleg/gnu/include/g++/stdexcept:75: virtual outside class
declaration
/home/haeusleg/gnu/include/g++/stdexcept:75: non-member function
`what()' cannot have `const' method qualifier
/home/haeusleg/gnu/include/g++/stdexcept: In function `const char *
what()':
/home/haeusleg/gnu/include/g++/stdexcept:75: redefinition of `const
char * what()'
/home/haeusleg/gnu/include/g++/stdexcept:48: `const char * what()'
previously defined here
/home/haeusleg/gnu/include/g++/stdexcept: In function `const char *
what()':
/home/haeusleg/gnu/include/g++/stdexcept:75: confused by earlier
errors, bailing out          

I'll hope someone can help me, please!

My wish is to start koffice :-))


==
Regards,
	Geri

<"Windows is not the answer! 
  Windows is the question and the answer is NO!">

_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com

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

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