Thank you for reply. I search the list before, but did not seem the related information. Could you give me some URLs or thread?
>>Initializing globals to zero is defined in the C standard somewhere I really not known this. I only known C did not force to do it. Could you guild me some C specs? On 11/26/08, Simon Goldschmidt <[EMAIL PROTECTED]> wrote: > > > > I find the lwIP did not manually init global parameters. In most of the > > And it does this on purpose. > > > system, the global paramter has default zero. But my embeded system only > > init the static paramters, and won't init the gloable parameters. > > That's a bug in your compiler. We've had this discussion some months ago. > Since we do not want to support broken compilers, we decided the ones with > broken compilers should add initialization on their own, I think... Sorry. > > Initializing globals to zero is defined in the C standard somewhere. If > you're interested in where (e.g. want to tell your compiler vendor to fix > it), you can search the mailing list archive for the discussion, it was > mentioned here a while ago. > > Simon > -- > Sensationsangebot nur bis 30.11: GMX FreeDSL - Telefonanschluss + DSL > für nur 16,37 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a > > > _______________________________________________ > lwip-users mailing list > [email protected] > http://lists.nongnu.org/mailman/listinfo/lwip-users >
_______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users
