-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The gcc compiler is becoming more and more strict about what it will compile. The latest version (from CVS) will no longer compile functions if the default parameter is given in both the .h file and the .cpp file.
Fortunately this is only occuring for two functions in the main licq sources, so only three lines of code need to be changed (see attached diff). cheers, John -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Messages with missing or bad signatures may have been forged or modified in transit! iEYEARECAAYFAjyBrq8ACgkQ0BW7kPcXjRXwPgCeMnitveYFTbDAKawHT32tpWoK 8NAAoIRHd/7SaecdwuDB21JO1D0Z3wuq =naHx -----END PGP SIGNATURE-----
diff -ur /tmp/licq-20020302/src/icqd-chat.cpp /usr/src/licq-20020302/src/icqd-chat.cpp --- /tmp/licq-20020302/src/icqd-chat.cpp Sat Feb 9 17:15:05 2002 +++ /usr/src/licq-20020302/src/icqd-chat.cpp Sun Mar 3 15:14:22 2002 @@ -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; diff -ur /tmp/licq-20020302/src/icqd-filetransfer.cpp /usr/src/licq-20020302/src/icqd-filetransfer.cpp --- /tmp/licq-20020302/src/icqd-filetransfer.cpp Fri May 25 21:42:32 2001 +++ /usr/src/licq-20020302/src/icqd-filetransfer.cpp Sun Mar 3 15:15:59 2002 @@ -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)