From kopete-devel Wed Jul 10 23:15:20 2002 From: fenix Date: Wed, 10 Jul 2002 23:15:20 +0000 To: kopete-devel Subject: [Kopete-devel] [PATCH] compilation fix for kopete/protocols/msn/msnsocket.cpp X-MARC-Message: https://marc.info/?l=kopete-devel&m=102634292011958 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--=-QhwHJubjnjzQyaMhKl8g" --=-QhwHJubjnjzQyaMhKl8g Content-Type: text/plain Content-Transfer-Encoding: 7bit Hi, i have this error while compiling kopete with last CVS Head msnsocket.cpp: In member function `void MSNSocket::sendCommand(const QString&, const QString&, bool, const QString&)': msnsocket.cpp:379: `exit' undeclared (first use this function) msnsocket.cpp:379: (Each undeclared identifier is reported only once for each function it appears in.) make[3]: *** [msnsocket.lo] Erreur 1 I have done a little patch for fixing it using QApplication::exit FeniX --=-QhwHJubjnjzQyaMhKl8g Content-Disposition: attachment; filename=msn.patch Content-Transfer-Encoding: quoted-printable Content-Type: text/x-diff; name=msn.patch; charset=ISO-8859-15 ? kopete_msn_la.all_cpp.loT Index: msnsocket.cpp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/kde/kdenonbeta/kopete/protocols/msn/msnsocket.cpp,v retrieving revision 1.19 diff -u -u -r1.19 msnsocket.cpp --- msnsocket.cpp 9 Jul 2002 21:14:23 -0000 1.19 +++ msnsocket.cpp 10 Jul 2002 22:59:32 -0000 @@ -19,6 +19,7 @@ =20 #include "msnsocket.h" =20 +#include #include #include =20 @@ -376,7 +377,7 @@ { kdDebug() << "MSNSocket::sendCommand: Forgot to utf8 convert the b= ody " << cmd << ": '" << args << "'" << endl; - exit(2); + QApplication::exit(2); } =20 QString MSNSocket::escape( const QString &str ) --=-QhwHJubjnjzQyaMhKl8g-- _______________________________________________ Kopete-devel mailing list Kopete-devel@mail.kde.org http://mail.kde.org/mailman/listinfo/kopete-devel