[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [lwip-devel] [task #7054] Clarification needed for variable initiali
From: |
Goldschmidt Simon |
Subject: |
RE: [lwip-devel] [task #7054] Clarification needed for variable initialization |
Date: |
Wed, 4 Jul 2007 17:29:06 +0200 |
> 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()"
Maybe I'm blind, I didn't find it in the ANSI C standard :-(
But OK, we can then change initialization to reflect this. Not all are
going to be happy with that,
but those are broken compilers ;-)
Simon
- [lwip-devel] [task #7054] Clarification needed for variable initialization, Simon Goldschmidt, 2007/07/03
- RE: [lwip-devel] [task #7054] Clarification needed for variableinitialization, Julian Gardner [RSD], 2007/07/04
- [lwip-devel] [task #7054] Clarification needed for variable initialization, Frédéric Bernon, 2007/07/04
- [lwip-devel] [task #7054] Clarification needed for variable initialization, Simon Goldschmidt, 2007/07/04
- [lwip-devel] [task #7054] Clarification needed for variable initialization, Frédéric Bernon, 2007/07/04
- [lwip-devel] [task #7054] Clarification needed for variable initialization, Frédéric Bernon, 2007/07/04
- [lwip-devel] [task #7054] Clarification needed for variable initialization, Frédéric Bernon, 2007/07/04
- [lwip-devel] [task #7054] Clarification needed for variable initialization, Frédéric Bernon, 2007/07/04
- RE: [lwip-devel] [task #7054] Clarification needed for variable initialization,
Goldschmidt Simon <=
- [lwip-devel] [task #7054] Clarification needed for variable initialization, David Empson, 2007/07/04
- [lwip-devel] [task #7054] Clarification needed for variable initialization, Simon Goldschmidt, 2007/07/05
- [lwip-devel] [task #7054] Clarification needed for variable initialization, Frédéric Bernon, 2007/07/05
- [lwip-devel] [task #7054] Clarification needed for variable initialization, Frédéric Bernon, 2007/07/05
- [lwip-devel] [task #7054] Clarification needed for variable initialization, Simon Goldschmidt, 2007/07/05
- [lwip-devel] [task #7054] Clarification needed for variable initialization, Frédéric Bernon, 2007/07/05
- [lwip-devel] [task #7054] Clarification needed for variable initialization, David Empson, 2007/07/05
- [lwip-devel] [task #7054] Clarification needed for variable initialization, Kieran Mansley, 2007/07/13
- [lwip-devel] [task #7054] Clarification needed for variable initialization, Jonathan Larmour, 2007/07/30
- [lwip-devel] [task #7054] Clarification needed for variable initialization, Frédéric Bernon, 2007/07/30