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 [email protected] +1-801-349-2682
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
