[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#297825: marked as done (twin: FTBFS (amd64/gcc-4.0): invalid storage class for function 'DeleteAllListeners')

Your message dated Thu, 15 Sep 2005 15:26:14 -0700
with message-id <E1EG2BK-0004Nh-00@spohr.debian.org>
and subject line Bug#297825: fixed in twin 0.5.1-1
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; 3 Mar 2005 07:26:13 +0000
>From aj@andaco.de Wed Mar 02 23:26:13 2005
Return-path: <aj@andaco.de>
Received: from c223012.adsl.hansenet.de (localhost.localdomain) [] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1D6kiq-0005LP-00; Wed, 02 Mar 2005 23:26:12 -0800
Received: from aj by localhost.localdomain with local (Exim 4.44)
	id 1D6lfA-0003TZ-BV; Thu, 03 Mar 2005 09:26:28 +0100
To: Debian Bug Tracking System <submit@bugs.debian.org>
From: Andreas Jochens <aj@andaco.de>
Subject: twin: FTBFS (amd64/gcc-4.0): static declaration of 'DeleteAllListeners' follows non-static declaration
Message-Id: <E1D6lfA-0003TZ-BV@localhost.localdomain>
Date: Thu, 03 Mar 2005 09:26:28 +0100
Delivered-To: submit@bugs.debian.org
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

Package: twin
Severity: normal
Tags: patch

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

libTw_u.c: At top level:
libTw_u.c:1595: warning: conflicting types for 'DeleteAllListeners'
libTw_u.c:1595: error: static declaration of 'DeleteAllListeners' follows non-static declaration
libTw_u.c:1224: error: previous implicit declaration of 'DeleteAllListeners' was here
make[3]: *** [libTw_u.o] Error 1
make[3]: Leaving directory `/twin-0.4.0/libs/libTw'

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

Andreas Jochens

diff -urN ../tmp-orig/twin-0.4.0/libs/libTw/libTw.c ./libs/libTw/libTw.c
--- ../tmp-orig/twin-0.4.0/libs/libTw/libTw.c	2001-11-21 20:57:37.000000000 +0100
+++ ./libs/libTw/libTw.c	2005-03-02 18:28:06.000000000 +0100
@@ -1182,6 +1182,8 @@
     return (tw_d)0;
+static void DeleteAllListeners(tlistener);
 /* just like all Tw_* functions, this requires LOCK not to be held */
  * Tw_Close() is not completely thread-safe, but it would be useless anyway
@@ -1193,7 +1195,6 @@
  * closes a server connection
 void Tw_Close(tw_d TwD) {
-    static void DeleteAllListeners(tlistener);
     s_tw_errno *E;
     byte *q;
     int i;
diff -urN ../tmp-orig/twin-0.4.0/server/HW/hw_tty.c ./server/HW/hw_tty.c
--- ../tmp-orig/twin-0.4.0/server/HW/hw_tty.c	2001-09-29 00:23:32.000000000 +0200
+++ ./server/HW/hw_tty.c	2005-03-03 09:20:54.450055645 +0100
@@ -366,9 +366,9 @@
 static byte xterm_MouseData[10] = "\033[M#!!!!";
+static void xterm_MouseEvent(int, display_hw);
 static void stdin_KeyboardEvent(int fd, display_hw hw) {
-    static void xterm_MouseEvent(int, display_hw);
     static byte *match;
     byte got, chunk, buf[SMALLBUFF], *s;
     udat Code, ShiftFlags;

Received: (at 297825-close) by bugs.debian.org; 15 Sep 2005 22:39:33 +0000
>From joerg@spohr.debian.org Thu Sep 15 15:39:33 2005
Return-path: <joerg@spohr.debian.org>
Received: from joerg by spohr.debian.org with local (Exim 3.36 1 (Debian))
	id 1EG2BK-0004Nh-00; Thu, 15 Sep 2005 15:26:14 -0700
From: Marco Presi (Zufus) <zufus@debian.org>
To: 297825-close@bugs.debian.org
X-Katie: lisa $Revision: 1.30 $
Subject: Bug#297825: fixed in twin 0.5.1-1
Message-Id: <E1EG2BK-0004Nh-00@spohr.debian.org>
Sender: Joerg Jaspert <joerg@spohr.debian.org>
Date: Thu, 15 Sep 2005 15:26:14 -0700
Delivered-To: 297825-close@bugs.debian.org
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=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-CrossAssassin-Score: 3

Source: twin
Source-Version: 0.5.1-1

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

  to pool/main/t/twin/libtw0-dev_4.5.1-1_i386.deb
  to pool/main/t/twin/libtw0_4.5.1-1_i386.deb
  to pool/main/t/twin/twin_0.5.1-1.diff.gz
  to pool/main/t/twin/twin_0.5.1-1.dsc
  to pool/main/t/twin/twin_0.5.1-1_i386.deb
  to pool/main/t/twin/twin_0.5.1.orig.tar.gz

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

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 297825@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Marco Presi (Zufus) <zufus@debian.org> (supplier of updated twin 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 ftpmaster@debian.org)

Hash: SHA1

Format: 1.7
Date: Mon, 12 Sep 2005 22:33:31 -0400
Source: twin
Binary: libtw0-dev libtw0 twin
Architecture: source i386
Version: 0.5.1-1
Distribution: unstable
Urgency: low
Maintainer: Marco Bodrato <bodrato@gulp.linux.it>
Changed-By: Marco Presi (Zufus) <zufus@debian.org>
 libtw0     - a Text mode WINdow environment - required library
 libtw0-dev - a Text mode WINdow environment library, development
 twin       - a Text mode WINdow environment
Closes: 184746 238031 297825 317997
 twin (0.5.1-1) unstable; urgency=low
   * New maintainer (Closes: #238031).
   * New upstream release (Closes: #184746).
   * Upstream moved twdm to /usr/sbin/twdm (correct since it depends on
     library in /usr/lib)
   * Matej Vela <vela@debian.org>: integration of various patches:
     - build with gcc-4.0 (Closes: #297825).
     - added shlibs:Depends in debian/control (Closes: 317997).
     - Corrected typos in control and README.Debian files
   * Marco Bodrato:
     - Removed Changelog.txt from docs, it is changelog!
     - Removed assembly code from shared libs (generating non PIC code)
     - Fixed rawkbd
   * libtw renamed to libtw0
   * bumped standard-versions to
 63a8e2bbc1c5e500a59369531911669a 731 utils optional twin_0.5.1-1.dsc
 28dab6c9b3e0d4c4ca508270ba19b28c 1341448 utils optional twin_0.5.1.orig.tar.gz
 8d59c64d10fbbef4898d8781234340af 9648 utils optional twin_0.5.1-1.diff.gz
 b1656cdb5c8e440965e263a8bc557f0c 439838 utils optional twin_0.5.1-1_i386.deb
 93fed562bc71b92cbdd885230c289182 277720 libs optional libtw0_4.5.1-1_i386.deb
 0f2dfdd47f8278da8d85c78d123bec0d 404412 devel optional libtw0-dev_4.5.1-1_i386.deb

Version: GnuPG v1.4.1 (GNU/Linux)


Reply to: