From koffice-devel Sun Feb 03 12:37:38 2008 From: =?UTF-8?B?UmHDumwgU8OhbmNoZXogU2lsZXM=?= Date: Sun, 03 Feb 2008 12:37:38 +0000 To: koffice-devel Subject: Re: koffice 1.6.3 build errors with gcc-4.3 Message-Id: X-MARC-Message: https://marc.info/?l=koffice-devel&m=120204232817842 Hello again: I' think I've solved the problem and it was that I wasn't really using latest svn revision. BTW, I'm not sure if the svn revision should be relased as is or some patches should be cherry picked... I'll look into that. ;) Thanks. Raúl Sánchez Siles wrote: > Hello All: > > For the next debian release (Lenny), all packages will need to build > against gcc-4.3. Trying to build it, I have the error below. > > This has been for 1.6 branch subversion and is also explained in debian > bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=441549 > > > g++-4.3 -DHAVE_CONFIG_H -I. -I../../../.. > -I/home/rasasi/debs/koffice/koffice-1.6.3/./kspread/plugins/scripting/kspreadcore > -I/home/rasasi/debs/koffice/koffice-1.6.3/./core > -I/home/rasasi/debs/koffice/koffice-1.6.3/./kspread > -I/home/rasasi/debs/koffice/koffice-1.6.3/./lib/kofficecore > -I../../../../lib/kofficecore > -I/home/rasasi/debs/koffice/koffice-1.6.3/./lib/store > -I../../../../lib/store > -I/home/rasasi/debs/koffice/koffice-1.6.3/./lib/kofficeui > -I../../../../lib/kofficeui > -I/home/rasasi/debs/koffice/koffice-1.6.3/./lib/kross > -I../../../../lib/kross -I/usr/include/kde -I/usr/share/qt3/include -I. > -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi > -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W > -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -g -Wall -O2 -Wformat-security > -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions > -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST > -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DHAVE_KNEWSTUFF > -fexceptions -c > krosskspreadcore_la.all_cpp.cpp -fPIC -DPIC -o > .libs/krosskspreadcore_la.all_cpp.o In file included from > /usr/share/qt3/include/qdragobject.h:47, > > from /home/rasasi/debs/koffice/koffice-1.6.3/./kspread/kspread_sheet.h:26, > > from > /home/rasasi/debs/koffice/koffice-1.6.3/./kspread/plugins/scripting/kspreadcore/krs_sheet.h:23, > > from > /home/rasasi/debs/koffice/koffice-1.6.3/./kspread/plugins/scripting/kspreadcore/krs_doc.cpp:21, > from krosskspreadcore_la.all_cpp.cpp:3: > /usr/share/qt3/include/qimage.h: In member function 'bool > QImageTextKeyLang::operator<(const QImageTextKeyLang&) const': > /usr/share/qt3/include/qimage.h:58: warning: suggest parentheses around && > within || > In file included from krosskspreadcore_la.all_cpp.cpp:5: > /home/rasasi/debs/koffice/koffice-1.6.3/./lib/kross/api/proxy.h: In static > member function 'static KSharedPtr > Kross::Api::ProxyFunction Kross::Api::Object, Kross::Api::Object, > Kross::Api::Object>::ProxyFunctionCaller void>::exec(PROXYFUNC*, Kross::Api::Object*) [with PROXYFUNC = > Kross::Api::ProxyFunction (Kross::KSpreadCore::Cell::*)(const QString&, bool), void, > Kross::Api::Variant, Kross::Api::Object, Kross::Api::Object, > Kross::Api::Object>, INSTANCE = Kross::KSpreadCore::Cell, METHOD = bool > (Kross::KSpreadCore::Cell::*)(const QString&, bool), RETURNOBJ = void, > ARG1OBJ = Kross::Api::Variant]': > /home/rasasi/debs/koffice/koffice-1.6.3/./lib/kross/api/proxy.h:298: > instantiated from 'KSharedPtr > Kross::Api::ProxyFunction Kross::Api::Object, Kross::Api::Object, > Kross::Api::Object>::call(KSharedPtr) [with INSTANCE = > Kross::KSpreadCore::Cell, METHOD = bool > (Kross::KSpreadCore::Cell::*)(const QString&, bool), RETURNOBJ = void, > ARG1OBJ = Kross::Api::Variant]' > /home/rasasi/debs/koffice/koffice-1.6.3/./kspread/plugins/scripting/kspreadcore/krs_cell.cpp:216: > instantiated from here > /home/rasasi/debs/koffice/koffice-1.6.3/./lib/kross/api/proxy.h:287: > error: too few arguments to function make[7]: *** > [krosskspreadcore_la.all_cpp.lo] Error 1 make[7]: se sale del directorio > `/home/rasasi/debs/koffice/koffice-1.6.3/obj-x86_64-linux-gnu/kspread/plugins/scripting/kspreadcore' > > Contact me if you need further info. > -- Raúl Sánchez Siles ----->Proud Debian user<----- Linux registered user #416098 _______________________________________________ koffice-devel mailing list koffice-devel@kde.org https://mail.kde.org/mailman/listinfo/koffice-devel