Package: licq
Version: 1.3.2-5
Severity: important
Tags: patch

Your package fails to build with G++ 4.1.  I'm filing this bug as
important for now, but when 4.1 will be the default compiler in
unstable (probably in a few weeks) I'll upgrade this to serious.

A patch is below.


> Automatic build of licq_1.3.2-5 on bigsur by sbuild/mips 1.80
...
> g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I. -I..  -Wall 
> -I../include -DINSTALL_PREFIX=\"/usr\"  -fPIC -DPIC -D_REENTRANT   -Wall -O2 
> -fno-exceptions -fno-check-new -c -o licq.o `test -f 'licq.cpp' || echo 
> './'`licq.cpp
> ../include/licq_buffer.h:65: error: extra qualification 'CBuffer::' on member 
> 'PackLNTS'
> licq.cpp: In member function 'int CLicq::Main()':
> licq.cpp:1092: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> licq.cpp:1105: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> make[3]: *** [licq.o] Error 1


--- ./include/licq_buffer.h~    2006-03-10 06:41:40.000000000 +0000
+++ ./include/licq_buffer.h     2006-03-10 06:41:48.000000000 +0000
@@ -62,7 +62,7 @@
 
    char *Pack(CBuffer *);
    char *Pack(const char *data, int size);
-   char *CBuffer::PackLNTS(const char *);
+   char *PackLNTS(const char *);
    char *PackString(const char *data, unsigned short max = 0);
    char *PackUnsignedShort(unsigned short data);
    char *PackUnsignedLong(unsigned long data);
--- ./include/licq_icqd.h~      2006-03-10 06:43:40.000000000 +0000
+++ ./include/licq_icqd.h       2006-03-10 06:51:46.000000000 +0000
@@ -124,6 +124,14 @@
 
//=====CICQDaemon===============================================================
 enum EDaemonStatus {STATUS_ONLINE, STATUS_OFFLINE_MANUAL, 
STATUS_OFFLINE_FORCED };
 
+void *MonitorSockets_tep(void *p);
+void *Ping_tep(void *p);
+void *UpdateUsers_tep(void *p);
+void *ProcessRunningEvent_Client_tep(void *p);
+void *ProcessRunningEvent_Server_tep(void *p);
+void *Shutdown_tep(void *p);
+void *ReverseConnectToUser_tep(void *p);
+
 class CICQDaemon
 {
 public:

-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to