GNU bug report logs - #8977
Parse error: Compile coreutils 8.9 with gcc 2.95.3

Previous Next

Package: coreutils;

Reported by: Wolfgang Steinwender <wolfgang <at> psysteme.de>

Date: Fri, 1 Jul 2011 16:17:02 UTC

Severity: normal

Tags: notabug

Done: Eric Blake <eblake <at> redhat.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eric Blake <eblake <at> redhat.com>
To: Wolfgang Steinwender <wolfgang <at> psysteme.de>
Cc: 8977 <at> debbugs.gnu.org
Subject: bug#8977: Parse error: Compile coreutils 8.9 with gcc 2.95.3
Date: Fri, 01 Jul 2011 11:47:32 -0600
[Message part 1 (text/plain, inline)]
On 07/01/2011 02:43 AM, Wolfgang Steinwender wrote:
> Hi,
> 
> compiling coreutils 8.9 with gcc 2.95.3:

Thanks for the report.  However, this is not a bug in coreutils, since
we explicitly document in the "Pre-C99 build failure" section in README
the minimum compiler that we are willing to support.

> {
>   if (heap->count == 0)
>     return NULL;
> 
>   void *top = heap->array[1];

The declaration-after-statement construct is required by C99 (now more
than 10 years old), and supported as an extension by a number of C89
compilers.  Your problem is that gcc 2.95.3 is SOOOO old that it does
not understand this extension.

-- 
Eric Blake   eblake <at> redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

[signature.asc (application/pgp-signature, attachment)]

This bug report was last modified 13 years and 323 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.