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

List:       koffice
Subject:    Compile error in koffice/filters/kword/msword
From:       Thomas Gufler <csab3266 () uibk ! ac ! at>
Date:       2003-04-27 17:14:57
[Download RAW message or body]

Hello,

I get a compile error with koffice cvs head in koffice/filters/kword/msword. 
I'm trying to compile koffice on gentoo 1.4 with gcc 3.2.2, glibc 
2.3.1(2.3.2) and libwv 0.0.9. 

make[4]: Entering directory `/opt/koffice/filters/kword/msword'
source='mswordimport.cpp' object='mswordimport.lo' libtool=yes \
depfile='.deps/mswordimport.Plo' tmpdepfile='.deps/mswordimport.TPlo' \
depmode=gcc3 /bin/sh ../../../admin/depcomp \
/bin/sh ../../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H 
-I. -I. -I../../.. -I. -I../../../lib/kofficeui -I../../../lib/kofficeui 
-I../../../lib/kofficecore -I../../../lib/kofficecore -I../../../lib/store 
-I../../../lib/store -I../../../lib/kwmf -I../../../lib/kwmf -I/usr/include 
-I/usr/include/libgsf-1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 
-I/usr/include/libxml2 -I/usr/kde/3.1/include -I/usr/qt/3/include 
-I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor 
-Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith 
-Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE 
-Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security 
-Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common 
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT  -c -o mswordimport.lo 
`test -f 'mswordimport.cpp' || echo './'`mswordimport.cpp
In file included from document.h:23,
                 from mswordimport.cpp:31:
tablehandler.h:41: syntax error before `*' token
tablehandler.h:48: parse error before `ptr'
tablehandler.h:48: missing ';' before right brace
tablehandler.h: In constructor `KWord::Row::Row()':
tablehandler.h:47: class `KWord::Row' does not have any field named 
`functorPtr
   '
tablehandler.h:47: class `KWord::Row' does not have any field named `tap'
tablehandler.h: At global scope:
tablehandler.h:49: warning: ISO C++ forbids defining types within return type
tablehandler.h:49: destructors must be member functions
tablehandler.h:49: return type specification for destructor invalid
tablehandler.h:52: 'TableRowFunctorPtr' is used as a type, but is not defined
   as a type.
tablehandler.h:53: 'TAPptr' is used as a type, but is not defined as a type.
tablehandler.h:61: `Row' was not declared in this scope
tablehandler.h:61: template argument 1 is invalid
tablehandler.h:61: warning: ISO C++ forbids declaration of `rows' with no type
tablehandler.h:74: parse error before `}' token
tablehandler.h:77: `TableHandler' is not a class or namespace
tablehandler.h:89: `Table' undeclared in namespace `KWord'
tablehandler.h:89: `table' was not declared in this scope
tablehandler.h:89: invalid data member initialization
tablehandler.h:89: (use `=' to initialize static data members)
tablehandler.h:89: variable or field `tableStart' declared void
tablehandler.h:101: syntax error before `*' token
In file included from 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/include/g++-v3/queue:75,
                 from document.h:32,
                 from mswordimport.cpp:31:
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/include/g++-v3/bits/stl_queue.h:72: 
parse
   error before `<' token
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/include/g++-v3/bits/stl_queue.h:76: 
parse
   error before `&' token
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/include/g++-v3/bits/stl_queue.h:76: `
   bool std::operator==(...)' must have an argument of class or enumerated 
type
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/include/g++-v3/bits/stl_queue.h:76: `
   bool std::operator==(...)' must take exactly two arguments
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/include/g++-v3/bits/stl_queue.h:76: 
too
   many template parameter lists in declaration of `bool std::operator==(...)'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/include/g++-v3/bits/stl_queue.h:79: 
parse
   error before `&' token
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/include/g++-v3/bits/stl_queue.h:79: `
   bool std::operator<(...)' must have an argument of class or enumerated type
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/include/g++-v3/bits/stl_queue.h:79: `
   bool std::operator<(...)' must take exactly two arguments
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/include/g++-v3/bits/stl_queue.h:79: 
too
   many template parameter lists in declaration of `bool std::operator<(...)'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/include/g++-v3/bits/stl_queue.h:84: 
definition
   of `class std::queue' inside template parameter list
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/include/g++-v3/bits/stl_queue.h:89: 
confused by earlier errors, bailing out
make[4]: *** [mswordimport.lo] Fehler 1
make[4]: Leaving directory `/opt/koffice/filters/kword/msword'
make[3]: *** [all-recursive] Fehler 1
make[3]: Leaving directory `/opt/koffice/filters/kword'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/opt/koffice/filters'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/opt/koffice'
make: *** [all] Fehler 2

Regards,

Tom Gufler


____________________________________
koffice mailing list
koffice@mail.kde.org
To unsubscribe please visit:
http://mail.kde.org/mailman/listinfo/koffice
[prev in list] [next in list] [prev in thread] [next in thread] 

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