lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [task #7054] Clarification needed for variable initializati


From: Frédéric Bernon
Subject: [lwip-devel] [task #7054] Clarification needed for variable initialization
Date: Wed, 04 Jul 2007 14:42:39 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4

Follow-up Comment #6, task #7054 (project lwip):

http://savannah.nongnu.org/bugs/?20254

(Robert Ammerman wrote: )

"It is indeed part of the C standard that global variables without explicit 
initializers are set to zero.

However, talk about BSS or INITDATA is referring to some, but not all 
compilers. The way the compiler manages the initialization is not defined. 
For example, it would be perfectly valid for the compiler/linker to generate

a bunch of assignment and "memset" type statements that are executed before 
main()"


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/task/?7054>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.nongnu.org/





reply via email to

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