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

Re: [MiNT] FreeMiNT build broken (trunk)



On 06/12/12 10:11, Vincent Rivière wrote:
> Le 12/06/2012 02:03, Alan Hourihane a écrit :
>> ../xa_shel.c:1244:24: error: 'c' may be used uninitialized in this
>> function
>
> I don't know if there is an actual bug in that code, but here is a
> general remark.
>
> GCC is know to be buggy on those "may be used uninitialized in this
> function" warnings. They are sometimes issued when there is no bug in
> the code. This combines sadly with -Werror.
>
> If it can be proven that there is no actual bug, something should be
> affected to that 'c' variable just to silence the buggy compiler.
>
> Of course, maybe there is a real bug in the source.
>
Helmut already fixed it.

Alan.