|
From: | address@hidden |
Subject: | Re: [lwip-users] Initialization of global Vars |
Date: | Mon, 22 Feb 2010 17:41:13 +0100 |
User-agent: | Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1 |
Christian Steffen wrote:
Yes: the C standard specifies them to be initialized to zero/NULL and so it saves space not to do so explicitly.Is there any reason, why the global variables not initialized?
You have to zero the section of global, uninitialized data in your startup code to be standard-compliant.
Simon
[Prev in Thread] | Current Thread | [Next in Thread] |