On 2007-06-19, N. Coesel <[email protected]> wrote:

> I don't see the problem either. Local variables allocated in main are very
> likely to end up on the stack permanently. So moving a local variable into
> global space is fixing the problem without additional costs.

If the variable is initialized, making it global may actually
save flash memory, since it will be initiazized by the startup code
loop that intiailzes all static data instead of by specific
code in main's preamble.

-- 
Grant Edwards                   grante             Yow! Maybe we could paint
                                  at               GOLDIE HAWN a rich PRUSSIAN
                               visi.com            BLUE --


Reply via email to