Hi,

the attached patches fix licq and qt-gui to compile with gcc3.1. All they do 
is removing the default values of the implementations, since they're already 
defined in the function declarations.

If there's any need to reply, please Cc me as I am not on this list. Thanks.

-- 
Roberto Teixeira -- [EMAIL PROTECTED], [EMAIL PROTECTED]
http://maragato.kdebr.org/  ICQ: 3203806 
Index: src/icqd-chat.cpp
===================================================================
RCS file: /cvsroot/licq/licq/src/icqd-chat.cpp,v
retrieving revision 1.9
diff -u -b -t -r1.9 icqd-chat.cpp
--- src/icqd-chat.cpp	8 Feb 2002 15:01:30 -0000	1.9
+++ src/icqd-chat.cpp	13 Apr 2002 17:06:11 -0000
@@ -1576,8 +1576,8 @@
 
 //-----CChatManager::SendBuffer----------------------------------------------
 void CChatManager::SendBuffer(CBuffer *b, unsigned char cmd,
-                              unsigned long _nUin = 0,
-                              bool bNotIter = true)
+                              unsigned long _nUin,
+                              bool bNotIter)
 {
   ChatUserList::iterator iter;
   ChatUserList::iterator u_iter;
Index: src/icqd-filetransfer.cpp
===================================================================
RCS file: /cvsroot/licq/licq/src/icqd-filetransfer.cpp,v
retrieving revision 1.4
diff -u -b -t -r1.4 icqd-filetransfer.cpp
--- src/icqd-filetransfer.cpp	25 May 2001 12:12:32 -0000	1.4
+++ src/icqd-filetransfer.cpp	13 Apr 2002 17:06:11 -0000
@@ -132,7 +132,7 @@
 
 
 //=====FileTransferManager===========================================================
-CFileTransferEvent::CFileTransferEvent(unsigned char t, char *d = NULL)
+CFileTransferEvent::CFileTransferEvent(unsigned char t, char *d)
 {
   m_nCommand = t;
   if (d != NULL)
Index: src/ewidgets.cpp
===================================================================
RCS file: /cvsroot/licq/qt-gui/src/ewidgets.cpp,v
retrieving revision 1.53
diff -u -b -t -r1.53 ewidgets.cpp
--- src/ewidgets.cpp	11 Dec 2001 23:46:35 -0000	1.53
+++ src/ewidgets.cpp	13 Apr 2002 17:06:26 -0000
@@ -465,7 +465,7 @@
 
 //- Message View Widget ---------------------------------------------------------
 
-CMessageViewWidget::CMessageViewWidget(unsigned long _nUin, QWidget* parent=0, const char * name =0)
+CMessageViewWidget::CMessageViewWidget(unsigned long _nUin, QWidget* parent, const char * name)
 :CHistoryWidget(parent,name)
 {
   m_nUin= _nUin;
Index: src/wharf.cpp
===================================================================
RCS file: /cvsroot/licq/qt-gui/src/wharf.cpp,v
retrieving revision 1.41
diff -u -b -t -r1.41 wharf.cpp
--- src/wharf.cpp	6 Mar 2001 14:59:20 -0000	1.41
+++ src/wharf.cpp	13 Apr 2002 17:06:27 -0000
@@ -65,7 +65,7 @@
 /*
   Constructs a WharfIcon widget.
 */
-IconManager::IconManager(CMainWindow *_mainwin, QPopupMenu *_menu, QWidget *parent = 0)
+IconManager::IconManager(CMainWindow *_mainwin, QPopupMenu *_menu, QWidget *parent)
   : QWidget(parent, "LicqWharf", WType_TopLevel)
 {
   setCaption("LicqWharf");

Reply via email to