bug-coreutils
[Top][All Lists]
Advanced

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

bug#8977: Parse error: Compile coreutils 8.9 with gcc 2.95.3


From: Eric Blake
Subject: bug#8977: Parse error: Compile coreutils 8.9 with gcc 2.95.3
Date: Fri, 01 Jul 2011 11:47:32 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.10

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   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]