Your message dated Wed, 28 Dec 2005 08:25:07 +0100
with message-id <[EMAIL PROTECTED]>
and subject line ggz-kde-client: FTBFS
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 16 Aug 2004 19:05:42 +0000
>From [EMAIL PROTECTED] Mon Aug 16 12:05:42 2004
Return-path: <[EMAIL PROTECTED]>
Received: from b099100.adsl.hansenet.de (localhost) [62.109.99.100] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1Bwmnd-00030o-00; Mon, 16 Aug 2004 12:05:41 -0700
Received: from aj by localhost with local (Exim 4.34)
        id 1Bwmnp-0005fA-JF; Mon, 16 Aug 2004 21:05:53 +0200
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: ggz-kde-client: FTBFS with gcc-3.4:
Message-Id: <[EMAIL PROTECTED]>
Date: Mon, 16 Aug 2004 21:05:53 +0200
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Package: ggz-kde-client
Severity: normal
Tags: patch

When building 'ggz-kde-client' with gcc-3.4 I get the following error:

shadownet.cpp: In member function `void ShadowNet::slotRead(int)':
shadownet.cpp:142: error: no match for 'operator>>' in '*s >> (Q_INT8)transmit'
/usr/include/qt3/qdatastream.h:72: note: candidates are: QDataStream& 
QDataStream::operator>>(Q_INT8&)
/usr/include/qt3/qdatastream.h:156: note:                 QDataStream& 
QDataStream::operator>>(Q_UINT8&)
[...]
shadownet.cpp: In member function `void ShadowNet::slotWrite(int)':
shadownet.cpp:163: error: no match for 'operator>>' in 
'*((ShadowNet*)this)->ShadowNet::net >> (Q_INT8)transmit'

With the attached patch 'ggz-kde-client' can be compiled using gcc-3.4.

Regards
Andreas Jochens

diff -urN ../tmp-orig/ggz-kde-client-0.0.7/kcm_ggz/kcm_ggz.cpp 
./kcm_ggz/kcm_ggz.cpp
--- ../tmp-orig/ggz-kde-client-0.0.7/kcm_ggz/kcm_ggz.cpp        2003-02-23 
00:26:40.000000000 +0100
+++ ./kcm_ggz/kcm_ggz.cpp       2004-08-16 20:41:43.300525577 +0200
@@ -15,7 +15,7 @@
 
 #include "config.h"
 
-typedef KCMGGZPane* (*panefunc)(QWidget *parent = NULL, const char *name = 
NULL);
+typedef KCMGGZPane* (*panefunc)(QWidget *parent, const char *name);
 
 KCMGGZ::KCMGGZ(KInstance *instance, QWidget *parent, const char *name)
 : KCModule(instance, parent, name)
@@ -50,7 +50,7 @@
                                if(func)
                                {
                                        init = (panefunc)func;
-                                       pane = (*init)(ctl);
+                                       pane = (*init)(ctl, 0);
                                        if(pane)
                                        {
                                                panelist.append(pane);
diff -urN ../tmp-orig/ggz-kde-client-0.0.7/shadowbridge/shadownet.cpp 
./shadowbridge/shadownet.cpp
--- ../tmp-orig/ggz-kde-client-0.0.7/shadowbridge/shadownet.cpp 2003-02-22 
18:49:46.000000000 +0100
+++ ./shadowbridge/shadownet.cpp        2004-08-16 20:39:10.715721993 +0200
@@ -132,15 +132,15 @@
 void ShadowNet::slotRead(int sock)
 {
        QDataStream *s;
-       char transmit = '\0';
+       Q_INT8 transmit = '\0';
 
        //cout << "game -> ggzcore: " << sock << endl;
 
        s = list.at(m_activated);
        if((!s) || (!net)) return;
 
-       *s >> (Q_INT8)transmit;
-       *net << (Q_INT8)transmit;
+       *s >> transmit;
+       *net << transmit;
 
        if(!m_incoming.isEmpty())
        {
@@ -153,15 +153,15 @@
 void ShadowNet::slotWrite(int sock)
 {
        QDataStream *s;
-       char transmit = '\0';
+       Q_INT8 transmit = '\0';
 
        //cout << "ggzcore -> game " << sock << endl;
 
        s = list.at(m_activated);
        if((!s) || (!net)) return;
 
-       *net >> (Q_INT8)transmit;
-       *s << (Q_INT8)transmit;
+       *net >> transmit;
+       *s << transmit;
 
        if(!m_outgoing.isEmpty())
        {

---------------------------------------
Received: (at 266117-done) by bugs.debian.org; 28 Dec 2005 07:25:21 +0000
>From [EMAIL PROTECTED] Tue Dec 27 23:25:21 2005
Return-path: <[EMAIL PROTECTED]>
Received: from e176043018.adsl.alicedsl.de ([85.176.43.18] helo=kat.ainf.net)
        by spohr.debian.org with esmtp (Exim 4.50)
        id 1ErVgT-0001zX-8m
        for [EMAIL PROTECTED]; Tue, 27 Dec 2005 23:25:19 -0800
Received: from aj by kat.ainf.net with local (Exim 4.54)
        id 1ErVgJ-0007cp-Af; Wed, 28 Dec 2005 08:25:07 +0100
To: [EMAIL PROTECTED]
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: ggz-kde-client: FTBFS
Message-Id: <[EMAIL PROTECTED]>
Date: Wed, 28 Dec 2005 08:25:07 +0100
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
        version=2.60-bugs.debian.org_2005_01_02
X-CrossAssassin-Score: 18

The package has been removed from unstable.


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

Reply via email to