-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I haven't gotten around to integrating this, you guys might find it useful to 
apply this if you are using gcc 3.1

- ----------  Forwarded Message  ----------

Subject: [PATCH] CVS compile error.
Date: Wed, 10 Jul 2002 16:00:47 +1000
From: Geoffrey Lee <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]

Yo,


Sorry for having to send you this directly, but it seems that SF and my
mail server's anti-spamming measures don't like each other much.

This is a patch to fix compile on gcc 3.1 (Mandrake Linux, cooker). I am
not a C++ expert and I do not know if this is the correct fix, but it seems
now that std's namespace is not global now.

There is also another trivial fix that is needed to make console plugin
compile, which is also included in the attached fix.

Please apply.

Thanks,


        -- Geoff.

- -------------------------------------------------------


- -- 
______________________________________________________________
Jon Keating                                                        ICQ #16325723
[EMAIL PROTECTED]                                                       GPG ID: 0x2290A71F
emostar on irc.openprojects.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.5 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9LZNPld1KayKQpx8RAkIOAJ9ku9YN/+acLQK7lQZulZI0gfAVwgCgjX9l
79hofexkk+OA8Yvvn9xSLV0=
=zcAU
-----END PGP SIGNATURE-----
Only in licq-20020624.orig: licq-20020624
diff -urpx CVS -x .cvsignore licq-20020624.orig/plugins/console/src/console.cpp 
licq-20020624/plugins/console/src/console.cpp
--- licq-20020624.orig/plugins/console/src/console.cpp  2001-02-07 20:09:26.000000000 
+0100
+++ licq-20020624/plugins/console/src/console.cpp       2002-06-24 12:07:17.000000000 
++0200
@@ -10,7 +10,7 @@
 #ifdef HAVE_ERRNO_H
 #include <errno.h>
 #else
-extern int errno
+extern int errno;
 #endif
 
 #include "console.h"
@@ -2157,7 +2157,7 @@ void CLicqConsole::InputAuthorize(int cI
  * CLicqConsole::Input_Line
  *-------------------------------------------------------------------------*/
 char *CLicqConsole::Input_Line(char *sz, unsigned short &n, int cIn,
-  bool bEcho = true)
+  bool bEcho)
 {
   // Now check for keys
   switch (cIn)
diff -urpx CVS -x .cvsignore licq-20020624.orig/plugins/console/src/console.h 
licq-20020624/plugins/console/src/console.h
--- licq-20020624.orig/plugins/console/src/console.h    2000-08-24 00:49:33.000000000 
+0200
+++ licq-20020624/plugins/console/src/console.h 2002-06-24 12:06:36.000000000 +0200
@@ -17,6 +17,8 @@ const unsigned short USER_WIN_WIDTH = 30
 const char L_CONSOLExSTR[] = "[CON] ";
 const char CANCEL_KEY = 'C';
 
+using namespace std;
+
 struct SColorMap
 {
   char szName[16];
diff -urpx CVS -x .cvsignore licq-20020624.orig/plugins/rms/src/rms.h 
licq-20020624/plugins/rms/src/rms.h
--- licq-20020624.orig/plugins/rms/src/rms.h    2001-02-26 21:06:47.000000000 +0100
+++ licq-20020624/plugins/rms/src/rms.h 2002-06-24 12:07:47.000000000 +0200
@@ -8,6 +8,8 @@
 #include "licq_socket.h"
 
 
+using namespace std;
+
 class CICQDaemon;
 class TCPSocket;
 class ICQUser;

Reply via email to