Package: kdenetwork Severity: normal Tags: patch When building 'kdenetwork' on amd64 with gcc-4.0, I get the following error:
../../../kopete/libkopete/kopeteglobal.cpp:192: error: 'class Kopete::Global::PropertiesPrivate' has no member named 'mTemplates' ../../../kopete/libkopete/kopeteglobal.cpp:197: error: invalid use of undefined type 'struct Kopete::Global::ContactPropertyTmpl' ../../../kopete/libkopete/kopeteglobal.h:56: error: forward declaration of 'struct Kopete::Global::ContactPropertyTmpl' ../../../kopete/libkopete/kopeteglobal.cpp: At global scope: ../../../kopete/libkopete/kopeteglobal.cpp:202: error: expected initializer before '&' token ../../../kopete/libkopete/kopeteglobal.cpp: In member function 'const Kopete::Global::ContactPropertyTmpl& Kopete::Global::Properties::tmpl(const QString&) const': ../../../kopete/libkopete/kopeteglobal.cpp:78: warning: control reaches end of non-void function ../../../kopete/libkopete/kopeteglobal.cpp: In member function 'bool Kopete::Global::Properties::registerTemplate(const QString&, const Kopete::Global::ContactPropertyTmpl&)': ../../../kopete/libkopete/kopeteglobal.cpp:94: warning: control reaches end of non-void function make[5]: *** [libkopete_la.all_cpp.lo] Error 1 make[5]: Leaving directory `/kdenetwork-3.3.2/obj-x86_64-linux/kopete/libkopete' With the attached patch 'kdenetwork' can be compiled on amd64 using gcc-4.0. The patch was taken from CVS. Regards Andreas Jochens diff -urN ../tmp-orig/kdenetwork-3.3.2/kopete/libkopete/kopeteglobal.h ./kopete/libkopete/kopeteglobal.h --- ../tmp-orig/kdenetwork-3.3.2/kopete/libkopete/kopeteglobal.h 2004-06-25 11:10:09.000000000 +0200 +++ ./kopete/libkopete/kopeteglobal.h 2005-03-20 12:15:27.177346543 +0100 @@ -53,7 +53,7 @@ **/ class Properties { - friend class ContactPropertyTmpl; + friend class Kopete::ContactPropertyTmpl; public: /** * \brief Singleton accessor for this class. diff -urN ../tmp-orig/kdenetwork-3.3.2/kopete/libkopete/kopetepassword.h ./kopete/libkopete/kopetepassword.h --- ../tmp-orig/kdenetwork-3.3.2/kopete/libkopete/kopetepassword.h 2004-05-05 17:09:31.000000000 +0200 +++ ./kopete/libkopete/kopetepassword.h 2005-03-20 12:17:58.337079127 +0100 @@ -168,8 +168,8 @@ Private *d; //TODO: can we rearrange things so these aren't friends? - friend class KopetePasswordGetRequest; - friend class KopetePasswordSetRequest; + friend class ::KopetePasswordGetRequest; + friend class ::KopetePasswordSetRequest; }; } -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]