Pádraig Brady wrote:
> On 01/10/10 10:24, Jim Meyering wrote:
>> Without this, I'd get
>>
>>   cc1: warnings being treated as errors
>>   tr.c: In function 'main':
>>   tr.c:1400: warning: 'char_to_repeat' may be used uninitialized in this 
>> function
>
> There must have been some limitation with my compiler
>   gcc (GCC) 4.4.1 20090725 (Red Hat 4.4.1-2)
> as it seems fairly obvious a warning should have
> been issued here.

I haven't investigated, but it may be that the above was
merely evidence that the older compiler,

  gcc version 4.1.2 20080704 (Red Hat 4.1.2-48)

lacked the "knowledge" that error (1, ... always exits,
while the newer ones that you and I use already know about that.

Reply via email to