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

Bug#260848: marked as done (xlander: FTBFS with gcc-3.4: conflicting types for 'malloc')



Your message dated Thu, 06 Oct 2005 12:58:43 +0200
with message-id <87ek6y52u4.fsf@diziet.irb.hr>
and subject line Bug#260848: fixed in xlander 19920427-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; 22 Jul 2004 14:51:20 +0000
>From aj@andaco.de Thu Jul 22 07:51:20 2004
Return-path: <aj@andaco.de>
Received: from c214235.adsl.hansenet.de (localhost) [213.39.214.235] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Bneum-0007Bh-00; Thu, 22 Jul 2004 07:51:20 -0700
Received: from aj by localhost with local (Exim 4.34)
	id 1Bneuk-0003gD-Rn; Thu, 22 Jul 2004 16:51:18 +0200
To: Debian Bug Tracking System <submit@bugs.debian.org>
From: Andreas Jochens <aj@andaco.de>
Subject: xlander: FTBFS with gcc-3.4: conflicting types for 'malloc'
Message-Id: <E1Bneuk-0003gD-Rn@localhost>
Date: Thu, 22 Jul 2004 16:51:18 +0200
Delivered-To: submit@bugs.debian.org
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: xlander
Severity: normal
Tags: patch

When building 'xlander' with gcc-3.4 I get the following error:

gcc -O2 -fno-strict-aliasing      -I/usr/X11R6/include    -Dlinux -D__x86_64__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_BSD_SOURCE -D_SVID_SOURCE 				  				  -DFUNCPROTO=15 -DNARROWPROTO   -DPOSIX    -c -o xlander.o xlander.c
In file included from xlander.c:15:
xlander.h:113: error: conflicting types for 'malloc'
xlander.h:113: error: conflicting types for 'malloc'
In file included from xlander.c:15:
xlander.h:127:8: warning: extra tokens at end of #endif directive
In file included from xlander.c:16:
globals.h:34:8: warning: extra tokens at end of #endif directive
make[1]: *** [xlander.o] Error 1
make[1]: Leaving directory `/xlander-19920427'
make: *** [build-stamp] Error 2

With the attached patch 'xlander' can be compiled using gcc-3.4.

Regards
Andreas Jochens

diff -urN ../tmp-orig/xlander-19920427/xlander.h ./xlander.h
--- ../tmp-orig/xlander-19920427/xlander.h	1992-07-26 12:20:44.000000000 +0200
+++ ./xlander.h	2004-07-22 16:45:13.957365636 +0200
@@ -109,9 +109,6 @@
 
 DATABASE *DBInit (), *DBInitFromData (), *LoadDataBase ();
 void DBInsert (), DBFinish (), DBPlot (), SwapBuffers (), exit ();
-#ifndef _AIX
-char *malloc ();
-#endif
 double atof ();
 #ifdef sun
 int printf (), fprintf (), time ();

---------------------------------------
Received: (at 260848-done) by bugs.debian.org; 6 Oct 2005 10:58:55 +0000
>From mvela@irb.hr Thu Oct 06 03:58:55 2005
Return-path: <mvela@irb.hr>
Received: from mail.irb.hr [161.53.22.8] (UNKNOWN)
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1ENTSh-0005fI-00; Thu, 06 Oct 2005 03:58:55 -0700
Received: from diziet.irb.hr (diziet.irb.hr [161.53.22.31])
	by mail.irb.hr (8.13.3/8.13.3/Debian-6) with ESMTP id j96AwWcd013567
	for <260848-done@bugs.debian.org>; Thu, 6 Oct 2005 12:58:32 +0200
Received: from diziet.irb.hr (localhost [127.0.0.1])
	by diziet.irb.hr (8.13.5/8.13.5/Debian-2) with ESMTP id j96AwhTl023796
	for <260848-done@bugs.debian.org>; Thu, 6 Oct 2005 12:58:43 +0200
Received: (from mvela@localhost)
	by diziet.irb.hr (8.13.5/8.13.5/Submit) id j96AwheM023794;
	Thu, 6 Oct 2005 12:58:43 +0200
X-Authentication-Warning: diziet.irb.hr: mvela set sender to mvela@irb.hr using -f
From: Matej Vela <vela@debian.org>
To: 260848-done@bugs.debian.org
Subject: Bug#260848: fixed in xlander 19920427-5
Date: Thu, 06 Oct 2005 12:58:43 +0200
Message-ID: <87ek6y52u4.fsf@diziet.irb.hr>
User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Scanned-By: MIMEDefang 2.51 on 161.53.22.8
Delivered-To: 260848-done@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-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: xlander
Source-Version: 19920427-5

Hi,

Andrew Pollock applied your patch in xlander 19920427-5.

Thanks,

Matej



Reply to: