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

List:       koffice
Subject:    Re: Another Compilation Error
From:       Norbert Andres <nandres () web ! de>
Date:       2003-03-07 18:52:15
[Download RAW message or body]

Fixed, thanks for the mail.

That reminds me of porting the filters to the new style architecture in 
KSpread...

On Friday 07 March 2003 18:41, Thorben Kröger wrote:
> Hello,
> using GCC 2.95.3 I get these error with a completely new checkedout KOffice
> CVS HEAD:
>
> make[4]: Wechsel in das Verzeichnis Verzeichnis
> »/home/thorben/src/KDE3.1SRC/koffice/filters/kspread/opencalc«
> /usr/lib/qt3/bin/moc ./opencalcimport.h -o opencalcimport.moc
> source='opencalcimport.cc' object='opencalcimport.lo' libtool=yes \
> depfile='.deps/opencalcimport.Plo' tmpdepfile='.deps/opencalcimport.TPlo' \
> depmode=gcc /bin/sh ../../../admin/depcomp \
> /bin/sh ../../../libtool --silent --mode=compile --tag=CXX g++
> -DHAVE_CONFIG_H -I. -I. -I../../.. -I. -I../../../kspread
> -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../../../lib/kotext
> -I../../../lib/kotext -I../../../lib/koscript -I../../../lib/koscript
> -I/opt/kde3/include -I/usr/lib/qt3/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 -fno-exceptions -fno-check-new
> -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT  -c -o
> opencalcimport.lo `test -f 'opencalcimport.cc' || echo
> './'`opencalcimport.cc
> opencalcimport.cc: In method `bool
> OpenCalcImport::readRowFormat(QDomElement &, QDomElement *, KSpreadSheet *,
> int &, int &, bool)':
> opencalcimport.cc:210: no matching function for call to
> `KSpreadFormat::KSpreadFormat (KSpreadSheet *&)'
> ../../../kspread/kspread_format.h:107: candidates are:
> KSpreadFormat::KSpreadFormat(KSpreadSheet *, KSpreadStyle *)
> ../../../kspread/kspread_format.h:431:
> KSpreadFormat::KSpreadFormat(const KSpreadFormat &)
> opencalcimport.cc: In method `bool OpenCalcImport::readCells(QDomElement &,
> KSpreadSheet *, int, int &)':
> opencalcimport.cc:697: warning: unused variable `class QDateTime dt'
> opencalcimport.cc:454: warning: unused variable `class KSpreadCell *
> defCell' opencalcimport.cc:674: warning: `int year' might be used
> uninitialized in this function
> opencalcimport.cc:674: warning: `int month' might be used uninitialized in
> this function
> opencalcimport.cc:674: warning: `int day' might be used uninitialized in
> this function
> opencalcimport.cc:711: warning: `int hours' might be used uninitialized in
> this function
> opencalcimport.cc:711: warning: `int minutes' might be used uninitialized
> in this function
> opencalcimport.cc:711: warning: `int seconds' might be used uninitialized
> in this function
> opencalcimport.cc: In method `bool
> OpenCalcImport::readRowsAndCells(QDomElement &, KSpreadSheet *)':
> opencalcimport.cc:812: warning: unused variable `class KSpreadCell *
> defCell' opencalcimport.cc:811: warning: unused variable `class KSpreadCell
> * cellDest' opencalcimport.cc:810: warning: unused variable `class
> KSpreadCell * cell' opencalcimport.cc: In method `bool
> OpenCalcImport::readColLayouts(QDomElement &, KSpreadSheet *)':
> opencalcimport.cc:905: no matching function for call to
> `KSpreadFormat::KSpreadFormat (KSpreadSheet *&)'
> ../../../kspread/kspread_format.h:107: candidates are:
> KSpreadFormat::KSpreadFormat(KSpreadSheet *, KSpreadStyle *)
> ../../../kspread/kspread_format.h:431:
> KSpreadFormat::KSpreadFormat(const KSpreadFormat &)
> opencalcimport.cc:933: no matching function for call to
> `KSpreadFormat::KSpreadFormat (int)'
> ../../../kspread/kspread_format.h:107: candidates are:
> KSpreadFormat::KSpreadFormat(KSpreadSheet *, KSpreadStyle *)
> ../../../kspread/kspread_format.h:431:
> KSpreadFormat::KSpreadFormat(const KSpreadFormat &)
> opencalcimport.cc: In method `bool OpenCalcImport::createStyleMap(const
> QDomDocument &)':
> opencalcimport.cc:2110: no matching function for call to
> `KSpreadFormat::KSpreadFormat (int)'
> ../../../kspread/kspread_format.h:107: candidates are:
> KSpreadFormat::KSpreadFormat(KSpreadSheet *, KSpreadStyle *)
> ../../../kspread/kspread_format.h:431:
> KSpreadFormat::KSpreadFormat(const KSpreadFormat &)
> opencalcimport.cc:2136: no matching function for call to
> `KSpreadFormat::KSpreadFormat (int)'
> ../../../kspread/kspread_format.h:107: candidates are:
> KSpreadFormat::KSpreadFormat(KSpreadSheet *, KSpreadStyle *)
> ../../../kspread/kspread_format.h:431:
> KSpreadFormat::KSpreadFormat(const KSpreadFormat &)
> make[4]: *** [opencalcimport.lo] Fehler 1
>
> Where's the problem here?
>
> Thorben
> ____________________________________
> koffice mailing list
> koffice@mail.kde.org
> To unsubscribe please visit:
> http://mail.kde.org/mailman/listinfo/koffice

____________________________________
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