Your message dated Tue, 09 Aug 2005 15:17:04 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#297565: fixed in eboard 0.9.5-5
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; 1 Mar 2005 14:56:34 +0000
>From [EMAIL PROTECTED] Tue Mar 01 06:56:34 2005
Return-path: <[EMAIL PROTECTED]>
Received: from c187024.adsl.hansenet.de (localhost.localdomain) [213.39.187.24] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1D68nZ-0002jA-00; Tue, 01 Mar 2005 06:56:34 -0800
Received: from aj by localhost.localdomain with local (Exim 4.44)
        id 1D69ju-0000Ge-4Z; Tue, 01 Mar 2005 16:56:50 +0100
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: eboard: FTBFS (amd64/gcc-4.0): cast from 'Board*' to 'unsigned int' 
loses precision
Message-Id: <[EMAIL PROTECTED]>
Date: Tue, 01 Mar 2005 16:56:50 +0100
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-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: eboard
Severity: normal
Tags: patch

When building 'eboard' on amd64 with gcc-4.0,
I get the following error:

g++ -O2 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include 
-I/usr/X11R6/include -c board.cc -o board.o
board.cc: In member function 'void Board::dump()':
board.cc:1062: error: cast from 'Board*' to 'unsigned int' loses precision
board.cc:1063: error: cast from 'ChessGame*' to 'unsigned int' loses precision
make[1]: *** [board.o] Error 1
make[1]: Leaving directory `/eboard-0.9.5'
make: *** [build-stamp] Error 2

With the attached patch 'eboard' can be compiled
on amd64 using gcc-4.0.

Regards
Andreas Jochens

diff -urN ../tmp-orig/eboard-0.9.5/board.cc ./board.cc
--- ../tmp-orig/eboard-0.9.5/board.cc   2003-11-27 00:48:49.000000000 +0100
+++ ./board.cc  2005-03-01 16:43:47.461562327 +0100
@@ -1059,8 +1059,8 @@
   cerr.setf(ios::hex,ios::basefield);
   cerr.setf(ios::showbase);
 
-  cerr << "[board " << ((unsigned int)this) << "] ";
-  cerr << "game=[" << ((unsigned int)mygame) << "] ";
+  cerr << "[board " << ((unsigned long)this) << "] ";
+  cerr << "game=[" << ((unsigned long)mygame) << "] ";
 
   cerr.setf(ios::dec,ios::basefield);
   cerr << "paneid=" << getPageId() << endl;
diff -urN ../tmp-orig/eboard-0.9.5/chess.cc ./chess.cc
--- ../tmp-orig/eboard-0.9.5/chess.cc   2003-11-27 00:48:49.000000000 +0100
+++ ./chess.cc  2005-03-01 16:45:23.309061992 +0100
@@ -641,7 +641,7 @@
   cerr.setf(ios::hex,ios::basefield);
   cerr.setf(ios::showbase);
 
-  cerr << "[game " << ((unsigned int)this) << "] ";
+  cerr << "[game " << ((unsigned long)this) << "] ";
 
   cerr.setf(ios::dec,ios::basefield);
 
@@ -655,7 +655,7 @@
   cerr.setf(ios::hex,ios::basefield);
   cerr.setf(ios::showbase);
 
-  cerr << "board=[" << ((unsigned int)myboard) << "]" << endl;
+  cerr << "board=[" << ((unsigned long)myboard) << "]" << endl;
 }
 
 char * ChessGame::getPlayerString(int index) {
diff -urN ../tmp-orig/eboard-0.9.5/notebook.cc ./notebook.cc
--- ../tmp-orig/eboard-0.9.5/notebook.cc        2003-11-27 00:48:49.000000000 
+0100
+++ ./notebook.cc       2005-03-01 16:46:31.191959340 +0100
@@ -127,7 +127,7 @@
 void Page::dump() {
   cerr.setf(ios::hex,ios::basefield);
   cerr.setf(ios::showbase);
-  cerr << "[page " << ((unsigned int)this) << "] ";
+  cerr << "[page " << ((unsigned long)this) << "] ";
   cerr.setf(ios::dec,ios::basefield);
   cerr << "pageid=" << number << " ";
   cerr << "title=" << title << " ";

---------------------------------------
Received: (at 297565-close) by bugs.debian.org; 9 Aug 2005 22:21:39 +0000
>From [EMAIL PROTECTED] Tue Aug 09 15:21:35 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
        id 1E2cPA-00036O-00; Tue, 09 Aug 2005 15:17:04 -0700
From: Daniel Burrows <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#297565: fixed in eboard 0.9.5-5
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Tue, 09 Aug 2005 15:17:04 -0700
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,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

Source: eboard
Source-Version: 0.9.5-5

We believe that the bug you reported is fixed in the latest version of
eboard, which is due to be installed in the Debian FTP archive:

eboard_0.9.5-5.diff.gz
  to pool/main/e/eboard/eboard_0.9.5-5.diff.gz
eboard_0.9.5-5.dsc
  to pool/main/e/eboard/eboard_0.9.5-5.dsc
eboard_0.9.5-5_i386.deb
  to pool/main/e/eboard/eboard_0.9.5-5_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Daniel Burrows <[EMAIL PROTECTED]> (supplier of updated eboard package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Tue,  9 Aug 2005 14:21:20 -0700
Source: eboard
Binary: eboard
Architecture: source i386
Version: 0.9.5-5
Distribution: unstable
Urgency: low
Maintainer: Daniel Burrows <[EMAIL PROTECTED]>
Changed-By: Daniel Burrows <[EMAIL PROTECTED]>
Description: 
 eboard     - A graphical chessboard program
Closes: 297565
Changes: 
 eboard (0.9.5-5) unstable; urgency=low
 .
   * Fix g++-4.0 compilation. (Closes: #297565)
Files: 
 9d850b4236851390d2670191d39c9792 639 games optional eboard_0.9.5-5.dsc
 f817b6d1035fb4c6620a38aa7f268583 4895 games optional eboard_0.9.5-5.diff.gz
 da8835b92b0c892e9d5d98fa51eeb0a7 551348 games optional eboard_0.9.5-5_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFC+SfQch6xsM7kSXgRAkgqAJ0TtYrgiVB3hk0L0LSljv01BdKCcQCdF0RE
fo1TYLd0GtPRiwJv6Mb9KXc=
=+6fL
-----END PGP SIGNATURE-----


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

Reply via email to