lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Initialization of global Vars


From: Christian Steffen
Subject: Re: [lwip-users] Initialization of global Vars
Date: Tue, 23 Feb 2010 12:39:04 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1.7) Gecko/20100111 Lightning/1.0b1 Thunderbird/3.0.1

Oh, thats right. Thank you for this hint.

Christian
Am 22.02.2010 17:41, schrieb address@hidden:
Christian Steffen wrote:
Is there any reason, why the global variables not initialized?
Yes: the C standard specifies them to be initialized to zero/NULL and so it saves space not to do so explicitly.

You have to zero the section of global, uninitialized data in your startup code to be standard-compliant.





reply via email to

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