Your message dated Sun, 6 Feb 2005 11:25:01 +0100
with message-id <[EMAIL PROTECTED]>
and subject line Done
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; 19 Dec 2004 14:06:17 +0000
>From [EMAIL PROTECTED] Sun Dec 19 06:06:17 2004
Return-path: <[EMAIL PROTECTED]>
Received: from d020027.adsl.hansenet.de (localhost.localdomain) [80.171.20.27]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1Cg1hQ-00017r-00; Sun, 19 Dec 2004 06:06:16 -0800
Received: from aj by localhost.localdomain with local (Exim 4.34)
id 1Cg1m3-0004CH-Jm; Sun, 19 Dec 2004 15:11:03 +0100
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: hexxagon: FTBFS (amd64/gcc-4.0): cast from 'void*' to 'int' loses
precision
Message-Id: <[EMAIL PROTECTED]>
Date: Sun, 19 Dec 2004 15:11:03 +0100
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: hexxagon
Severity: normal
Tags: patch
When building 'hexxagon' on amd64 with gcc-4.0,
I get the following error:
g++ -DHAVE_CONFIG_H -I. -I. -I../../src -DXTHREADS -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0
-I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -g -O2 -c gtk-options.cpp
gtk-options.cpp: In function 'void options_radio_clicked(GtkToggleButton*,
void*)':
gtk-options.cpp:45: error: cast from 'void*' to 'int' loses precision
gtk-options.cpp:46: error: cast from 'void*' to 'int' loses precision
make[4]: *** [gtk-options.o] Error 1
make[4]: Leaving directory `/hexxagon-0.3.3/src/hexxagon-gtk'
With the attached patch 'hexxagon' can be compiled
on amd64 using gcc-4.0.
Regards
Andreas Jochens
diff -urN ../tmp-orig/hexxagon-0.3.3/src/hexxagon-gtk/gtk-options.cpp
./src/hexxagon-gtk/gtk-options.cpp
--- ../tmp-orig/hexxagon-0.3.3/src/hexxagon-gtk/gtk-options.cpp 2004-08-06
23:55:40.000000000 +0200
+++ ./src/hexxagon-gtk/gtk-options.cpp 2004-12-19 15:02:33.964005808 +0100
@@ -42,8 +42,8 @@
void options_radio_clicked(GtkToggleButton *togglebutton, gpointer user_data)
{
- comp_level = 0xFF & (int)user_data; /* nice hack =) */
- comp_timeout = 0xFF & ((int)user_data >> 8);
+ comp_level = 0xFF & (long)user_data; /* nice hack =) */
+ comp_timeout = 0xFF & ((long)user_data >> 8);
if(gtk_toggle_button_get_active(togglebutton))
{
---------------------------------------
Received: (at 286320-done) by bugs.debian.org; 6 Feb 2005 10:24:51 +0000
>From [EMAIL PROTECTED] Sun Feb 06 02:24:51 2005
Return-path: <[EMAIL PROTECTED]>
Received: from d084025.adsl.hansenet.de (localhost.localdomain) [80.171.84.25]
(Debian-exim)
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1Cxjb1-0002Lt-00; Sun, 06 Feb 2005 02:24:51 -0800
Received: from aj by localhost.localdomain with local (Exim 4.44)
id 1CxjbB-0003A8-KW; Sun, 06 Feb 2005 11:25:01 +0100
Date: Sun, 6 Feb 2005 11:25:01 +0100
To: [EMAIL PROTECTED]
Subject: Done
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.6+20040907i
From: Andreas Jochens <[EMAIL PROTECTED]>
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=-2.0 required=4.0 tests=BAYES_00,ONEWORD autolearn=no
version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level:
X-CrossAssassin-Score: 2
This bug has been fixed already, thanks!
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]