bug-coreutils
[Top][All Lists]
Advanced

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

bug#7099: mbsalign.c old c compiler complains about variables defined in


From: Pádraig Brady
Subject: bug#7099: mbsalign.c old c compiler complains about variables defined inside code
Date: Fri, 01 Oct 2010 14:32:42 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3

On 24/09/10 22:38, Pádraig Brady wrote:
> On 24/09/10 21:15, Suhan Andrei wrote:
>> Hi
>>
>> Just wanted to let you know there are some errors when using old compiler 
>> (
>> gcc -v
>> Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/specs
>> gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
>> )
>>
>>
>> Tere are 2 variables defined inside blocks of code that triggers old c 
>> compiler 
>> to spill errors.
>> I used code from coreutils-8.5.tar.gz 
>> I moved declaration at the start of code and all compiled ok.
> 
> Eep, I'll fix that up, as we want to keep stuff under gl/
> C89 conformant, as it may be moved to gnulib at some stage.

I'll push the attached soon.

cheers,
Pádraig.

Attachment: mbsalign-c89.diff
Description: Text Data


reply via email to

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