Your message dated Sat, 29 Oct 2005 14:33:11 +0200
with message-id <[EMAIL PROTECTED]>
and subject line koth: FTBFS with gcc-3.4: label at end of compound statement
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; 12 Jul 2004 19:41:13 +0000
>From [EMAIL PROTECTED] Mon Jul 12 12:41:13 2004
Return-path: <[EMAIL PROTECTED]>
Received: from c186225.adsl.hansenet.de (localhost) [213.39.186.225]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1Bk6fp-00068l-00; Mon, 12 Jul 2004 12:41:13 -0700
Received: from aj by localhost with local (Exim 4.34)
id 1Bk6fo-0002Ot-1C; Mon, 12 Jul 2004 21:41:12 +0200
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: koth: FTBFS with gcc-3.4: label at end of compound statement
Message-Id: <[EMAIL PROTECTED]>
Date: Mon, 12 Jul 2004 21:41:12 +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: koth
Severity: normal
Tags: patch
When building 'koth' with gcc-3.4 I get the following error:
gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -Wimplicit -c relay.c
relay.c: In function `rlMain':
relay.c:263: error: label at end of compound statement
make[4]: *** [relay.o] Error 1
make[4]: Leaving directory `/koth-0.8.0/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/koth-0.8.0/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/koth-0.8.0'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/koth-0.8.0'
make: *** [build-stamp] Error 2
With the attached patch 'koth' can be compiled using gcc-3.4.
Regards
Andreas Jochens
diff -urN ../tmp-orig/koth-0.8.0/src/ballistics.c ./src/ballistics.c
--- ../tmp-orig/koth-0.8.0/src/ballistics.c 2003-01-15 05:12:43.000000000
+0100
+++ ./src/ballistics.c 2004-07-12 21:10:09.277230567 +0200
@@ -90,8 +90,6 @@
case WALL_RANDOM:
bal_wall = (WallTypes_bal) (random() % (int) WALL_LAST);
break;
- case WALL_LAST:
- /* just to satisfy gcc -Wall */
}
}
@@ -208,9 +206,6 @@
}
}
break;
- case WALL_RANDOM: /* both of this can't happen, */
- case WALL_LAST: /* so they are here to satisfy gcc -Wall */
-
}
}
return FLYING;
diff -urN ../tmp-orig/koth-0.8.0/src/relay.c ./src/relay.c
--- ../tmp-orig/koth-0.8.0/src/relay.c 2003-02-03 01:34:54.000000000 +0100
+++ ./src/relay.c 2004-07-12 21:08:48.155931510 +0200
@@ -260,6 +260,7 @@
else goto bail;
goto nextpkt;
bail:
+ continue;
}
}
}
---------------------------------------
Received: (at 259036-done) by bugs.debian.org; 29 Oct 2005 12:33:13 +0000
>From [EMAIL PROTECTED] Sat Oct 29 05:33:13 2005
Return-path: <[EMAIL PROTECTED]>
Received: from meitner.df7cb.de [217.160.132.97] (postfix)
by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
id 1EVptZ-0007J7-00; Sat, 29 Oct 2005 05:33:13 -0700
Received: from volta.df7cb.de (dslb-084-058-194-119.pools.arcor-ip.net
[84.58.194.119])
by meitner.df7cb.de (Postfix) with ESMTP id 62DE320C02F
for <[EMAIL PROTECTED]>; Sat, 29 Oct 2005 14:33:12 +0200 (CEST)
Received: by volta.df7cb.de (Postfix, from userid 1000)
id 8009543063; Sat, 29 Oct 2005 14:33:11 +0200 (CEST)
Date: Sat, 29 Oct 2005 14:33:11 +0200
From: Christoph Berg <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: koth: FTBFS with gcc-3.4: label at end of compound statement
Message-ID: <[EMAIL PROTECTED]>
Mail-Followup-To: Christoph Berg <[EMAIL PROTECTED]>,
[EMAIL PROTECTED]
References: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol="application/pgp-signature"; boundary="Nq2Wo0NMKNjxTN9z"
Content-Disposition: inline
In-Reply-To: <[EMAIL PROTECTED]>
X-Debbugs-No-Ack: please
X-Face: ([EMAIL PROTECTED](D\O)J!Qu\q4fh8W^7WGqxpwTk&Xy0*ya<[EMAIL
PROTECTED]/TA:l\Pde>wYj,M;75"
N13_k}S.rS#lmX[G]QOuw[H"4#z$tSn$SkV<IurN'6;gkRFZw@/XLtl7":0v&kN3*-iM~q*;.*CfH@
qM>5ucV193Tz3IWj<]8at(6"K.ht//s"Ds,xMV9A\_bN/)[EMAIL PROTECTED]>-dF34Kw?,<G0ya
User-Agent: Mutt/1.5.9i
Delivered-To: [EMAIL PROTECTED]
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=-6.0 required=4.0 tests=BAYES_00,X_DEBBUGS_NO_ACK
autolearn=no version=2.60-bugs.debian.org_2005_01_02
--Nq2Wo0NMKNjxTN9z
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
koth was removed from unstable on 2005-09-20; closing the bug.
Christoph
--=20
[EMAIL PROTECTED] | http://www.df7cb.de/
--Nq2Wo0NMKNjxTN9z
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFDY2wHxa93SlhRC1oRAliAAJ0aAH7P6NHTEvqoqCaa8YtguHfsIACfa1vp
2e9z9vhBBeeCigc14NIBRvE=
=CTJJ
-----END PGP SIGNATURE-----
--Nq2Wo0NMKNjxTN9z--
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]