Your message dated Tue, 9 Aug 2005 00:16:26 +0100
with message-id <[EMAIL PROTECTED]>
and subject line sgt-puzzles: FTBFS: 'r2.x' may be used uninitialized in this
function
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; 18 Jul 2005 11:41:21 +0000
>From [EMAIL PROTECTED] Mon Jul 18 04:41:21 2005
Return-path: <[EMAIL PROTECTED]>
Received: from d084058.adsl.hansenet.de (localhost.localdomain) [80.171.84.58]
by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
id 1DuTzt-00044Q-00; Mon, 18 Jul 2005 04:41:21 -0700
Received: from aj by localhost.localdomain with local (Exim 4.52)
id 1DuTzq-0002Rn-Fb; Mon, 18 Jul 2005 13:41:18 +0200
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: sgt-puzzles: FTBFS: 'r2.x' may be used uninitialized in this function
Message-Id: <[EMAIL PROTECTED]>
Date: Mon, 18 Jul 2005 13:41:18 +0200
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=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE
autolearn=no version=2.60-bugs.debian.org_2005_01_02
Package: sgt-puzzles
Version: 6039-1
Severity: serious
Tags: patch
When building 'sgt-puzzles' on amd64/unstable,
I get the following error:
cc -O2 -Wall -Werror -g -I./ `sh -c 'pkg-config gtk+-2.0 $0 2>/dev/null ||
gtk-config $0' --cflags` -c rect.c
cc1: warnings being treated as errors
rect.c: In function 'new_game_desc':
rect.c:1288: warning: 'r2.x' may be used uninitialized in this function
rect.c:1288: warning: 'r2.y' may be used uninitialized in this function
rect.c:1288: warning: 'r2.w' may be used uninitialized in this function
rect.c:1288: warning: 'r2.h' may be used uninitialized in this function
rect.c:1288: warning: 'r1.w' may be used uninitialized in this function
rect.c:1288: warning: 'r1.h' may be used uninitialized in this function
make[1]: *** [rect.o] Error 1
make[1]: Leaving directory `/sgt-puzzles-6039'
make: *** [build] Error 2
With the attached patch 'sgt-puzzles' can be compiled.
Regards
Andreas Jochens
diff -urN ../tmp-orig/sgt-puzzles-6039/rect.c ./rect.c
--- ../tmp-orig/sgt-puzzles-6039/rect.c 2005-06-29 00:30:05.000000000 +0000
+++ ./rect.c 2005-07-18 10:51:36.000000000 +0000
@@ -1285,7 +1285,7 @@
if (ndirs > 0) {
int which, dir;
- struct rect r1, r2;
+ struct rect r1={0,0,0,0}, r2={0,0,0,0};
which = random_upto(rs, ndirs);
dir = dirs[which];
---------------------------------------
Received: (at 318869-done) by bugs.debian.org; 8 Aug 2005 23:17:00 +0000
>From [EMAIL PROTECTED] Mon Aug 08 16:17:00 2005
Return-path: <[EMAIL PROTECTED]>
Received: from mta08-winn.ispmail.ntl.com [81.103.221.48]
by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
id 1E2Grc-0003xB-00; Mon, 08 Aug 2005 16:17:00 -0700
Received: from aamta10-winn.ispmail.ntl.com ([81.103.221.35])
by mta08-winn.ispmail.ntl.com with ESMTP
id <[EMAIL PROTECTED]>;
Tue, 9 Aug 2005 00:16:28 +0100
Received: from shadbolt.i.decadentplace.org.uk ([82.18.32.217])
by aamta10-winn.ispmail.ntl.com with ESMTP
id <[EMAIL PROTECTED]>;
Tue, 9 Aug 2005 00:16:28 +0100
Received: from womble by shadbolt.i.decadentplace.org.uk with local (Exim 3.36
#1 (Debian))
id 1E2Gr4-0005Yc-00; Tue, 09 Aug 2005 00:16:26 +0100
Date: Tue, 9 Aug 2005 00:16:26 +0100
From: Ben Hutchings <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED], Andreas Jochens <[EMAIL PROTECTED]>
Subject: Re: sgt-puzzles: FTBFS: 'r2.x' may be used uninitialized in this
function
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
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=-3.0 required=4.0 tests=BAYES_00 autolearn=no
version=2.60-bugs.debian.org_2005_01_02
Version: 6169-1
I fixed this bug a little while back and the fix is included in the
newly-uploaded version 6169-1.
Ben.
--
Ben Hutchings
Beware of bugs in the above code;
I have only proved it correct, not tried it. - Donald Knuth
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]