Your message dated Sun, 19 Jun 2005 22:51:30 +0300
with message-id <[EMAIL PROTECTED]>
has caused the Debian Bug report #314960,
regarding tea: FTBFS (amd64/gcc-4.0): static declaration of
to be marked as having been forwarded to the upstream software
author(s) Peter Semiletov <[EMAIL PROTECTED]>.
(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 314960-forwarded) by bugs.debian.org; 19 Jun 2005 19:52:16 +0000
>From [EMAIL PROTECTED] Sun Jun 19 12:52:16 2005
Return-path: <[EMAIL PROTECTED]>
Received: from mtaout4.barak.net.il [212.150.49.174]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1Dk5q4-00054Z-00; Sun, 19 Jun 2005 12:52:16 -0700
Received: from [192.168.0.3] ([212.150.100.228])
by mtaout4.barak.net.il (Sun Java System Messaging Server 6.1 HotFix 0.02
(built Aug 25 2004)) with ESMTPA id <[EMAIL PROTECTED]>;
Sun, 19 Jun 2005 22:56:37 +0300 (IDT)
Date: Sun, 19 Jun 2005 22:51:30 +0300
From: Lior Kaplan <[EMAIL PROTECTED]>
Subject: [Fwd: Bug#314960: tea: FTBFS (amd64/gcc-4.0): static declaration of
'lookup_widget2' follows non-static declaration]
To: Peter Semiletov <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED],
Debian bugs control <[EMAIL PROTECTED]>
Reply-to: [EMAIL PROTECTED]
Message-id: <[EMAIL PROTECTED]>
Organization: Guides.co.il
MIME-version: 1.0
Content-type: text/plain; charset=UTF-8
Content-transfer-encoding: 7bit
X-Accept-Language: en-us, en
OpenPGP: id=99E81DA0
X-Enigmail-Version: 0.91.0.0
User-Agent: Debian Thunderbird 1.0.2 (X11/20050602)
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=-13.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER,
HAS_PACKAGE,VALID_BTS_CONTROL autolearn=ham
version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level:
X-CrossAssassin-Score: 2
package tea
retitle 314960 tea: FTBFS (amd64/gcc-4.0): static declaration of
'cb_on_bt_close' follows non-static declaration
stop
Hi Peter,
Andreas is reporting another amd64/gcc-4.0 problem with tea. Please
apply the patch (and add a changelog entry). See
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=314960
Previous patch at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=303416
-------- Original Message --------
Subject: Bug#314960: tea: FTBFS (amd64/gcc-4.0): static declaration of
'lookup_widget2' follows non-static declaration
Resent-Date: Sun, 19 Jun 2005 17:33:05 UTC
Resent-From: Andreas Jochens <[EMAIL PROTECTED]>
Resent-To: [email protected]
Resent-CC: Lior Kaplan <[EMAIL PROTECTED]>
Date: Sun, 19 Jun 2005 19:28:08 +0200
From: Andreas Jochens <[EMAIL PROTECTED]>
Reply-To: Andreas Jochens <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Package: tea
Version: 9.0-1
Severity: normal
Tags: patch
When building 'tea' on amd64/unstable with gcc-4.0,
I get the following error:
x86_64-linux-gcc -DHAVE_CONFIG_H -I. -I. -I..
-DPACKAGE_DATA_DIR=\""/usr/share"\"
-DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -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 -Wall -g -O2 -w
-s -pipe -c tea_about.c
tea_about.c:44: error: static declaration of 'cb_on_bt_close' follows
non-static declaration
tea_gtk_utils.h:14: error: previous declaration of 'cb_on_bt_close' was here
make[3]: *** [tea_about.o] Error 1
make[3]: Leaving directory `/tea-9.0/src'
With the attached patch 'tea' can be compiled
on amd64 using gcc-4.0.
Regards
Andreas Jochens
diff -urN ../tmp-orig/tea-9.0/src/tea_about.c ./src/tea_about.c
--- ../tmp-orig/tea-9.0/src/tea_about.c 2005-04-22 14:53:08.000000000 +0200
+++ ./src/tea_about.c 2005-06-19 19:12:56.000000000 +0200
@@ -40,7 +40,7 @@
}
-static void cb_on_bt_close (GtkObject *object, GtkWidget *w)
+static void about_cb_on_bt_close (GtkObject *object, GtkWidget *w)
{
window_destroy (w);
}
@@ -166,7 +166,7 @@
GTK_WIDGET_SET_FLAGS (bt_close, GTK_CAN_DEFAULT);
- g_signal_connect (bt_close, "clicked", G_CALLBACK (cb_on_bt_close),
wnd_about);
+ g_signal_connect (bt_close, "clicked", G_CALLBACK
(about_cb_on_bt_close), wnd_about);
gtk_widget_grab_focus (bt_close);
gtk_widget_grab_default (bt_close);
--
Regards,
Lior Kaplan
[EMAIL PROTECTED]
http://www.Guides.co.il
Debian GNU/Linux unstable (SID)
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]