Your message dated Thu, 13 Jan 2005 05:17:36 -0500
with message-id <[EMAIL PROTECTED]>
and subject line Bug#259822: fixed in simplecdrx 1.3.2-3
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 Jul 2004 20:52:41 +
>From [EMAIL PROTECTED] Fri Jul 16 13:52:41 2004
Return-path: <[EMAIL PROTECTED]>
Received: from c147165.adsl.hansenet.de (localhost) [213.39.147.165]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1BlZhA-0003u4-00; Fri, 16 Jul 2004 13:52:40 -0700
Received: from aj by localhost with local (Exim 4.34)
id 1BlZh9-0003HR-5h; Fri, 16 Jul 2004 22:52:39 +0200
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: simplecdrx: FTBFS with gcc-3.4: ISO C++ forbids cast to non-reference
type used as lvalue
Message-Id: <[EMAIL PROTECTED]>
Date: Fri, 16 Jul 2004 22:52:39 +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: simplecdrx
Severity: normal
Tags: patch
When building 'simplecdrx' with gcc-3.4 I get the following error:
fi
callbacks.c: In function `void on_delete_clicked(GtkButton*, void*)':
callbacks.c:699: error: ISO C++ forbids cast to non-reference type used as
lvalue
callbacks.c: In function `void on_delete_file_clicked(GtkButton*, void*)':
callbacks.c:957: error: ISO C++ forbids cast to non-reference type used as
lvalue
callbacks.c: In function `void on_rip_info_clicked(GtkButton*, void*)':
callbacks.c:2251: warning: cast to pointer from integer of different size
callbacks.c:2262: warning: cast to pointer from integer of different size
callbacks.c: In function `void sf_cd_play_button_clicked(GtkWidget*, void*)':
callbacks.c:2325: warning: cast from pointer to integer of different size
callbacks.c: In function `void on_rip_scan_cd_clicked(GtkButton*, void*)':
callbacks.c:2481: warning: cast to pointer from integer of different size
callbacks.c:2492: warning: cast to pointer from integer of different size
make[3]: *** [callbacks.o] Error 1
make[3]: Leaving directory `/simplecdrx-1.3.2/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/simplecdrx-1.3.2'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/simplecdrx-1.3.2'
make: *** [build-stamp] Error 2
With the attached patch 'simplecdrx' can be compiled using gcc-3.4.
Regards
Andreas Jochens
diff -urN ../tmp-orig/simplecdrx-1.3.2/src/callbacks.c ./src/callbacks.c
--- ../tmp-orig/simplecdrx-1.3.2/src/callbacks.c2003-12-26
06:04:49.0 +0100
+++ ./src/callbacks.c 2004-07-16 22:38:10.026577988 +0200
@@ -696,7 +696,7 @@
return;
gtk_clist_get_text (GTK_CLIST (get_widget (main_win, "audio_list")), r, 0,
&temp[0]);
- (gchar *) temp_ = temp[0];
+ temp_ = temp[0];
filename_ = temp_;
if (int (filename_.find (".mp3")) != -1
@@ -954,7 +954,7 @@
// Initializing localized lists
gtk_clist_get_text (GTK_CLIST (get_widget (main_win, "data_master_list")),
r1, 0, &temp_file[0]);
- (gchar *) temp_ = temp_file[0];
+ temp_ = temp_file[0];
tmp_file = temp_;
tmp_dir = current_dir;
diff -urN ../tmp-orig/simplecdrx-1.3.2/src/datacdops.cpp ./src/datacdops.cpp
--- ../tmp-orig/simplecdrx-1.3.2/src/datacdops.cpp 2003-12-26
06:04:49.0 +0100
+++ ./src/datacdops.cpp 2004-07-16 22:39:17.994509250 +0200
@@ -443,7 +443,7 @@
gtk_clist_get_text (GTK_CLIST
(get_widget (main_win, "dir_master_list")), r, 0,
&temp[0]);
- (gchar *) temp_ = temp[0];
+ temp_ = temp[0];
tmp = temp_;
if (tmp != "/" && tmp != "..")
tmp = current_dir + tmp + "/";
@@ -798,7 +798,7 @@
r = count - 1;
gtk_clist_get_text (GTK_CLIST (get_widget (main_win, "audio_list")),
r, 0, &temp[0]);
- (gchar *) temp_ = temp[0];
+ temp_ = temp[0];
tmp = temp_;
cont =
master_aud.convertTracklist (count, tracks, tmp, setupData1,
@@ -935,7 +935,7 @@
// Initializing localized lists and clearing file list
gtk_clist_get_text (GTK_CLIST (get_widget (main_win, "dir_master_list")),
rowtemp, 0, &temp_dir[0]);
- (gch