Menu

#13 Default Static Initialization

closed
nobody
None
5
2004-10-15
2001-11-17
No

Hi,
The compiler doesn't do default static initialization (i.e., setting all 'globals' to 0, 0.0 or NULL).
Not initializing is pretty useful for generating small code, but doesn't comply with standard C.
There should be a switch and/or pragma to turn the initialization on or off.

Geoffrey

Discussion

  • Maarten Brock

    Maarten Brock - 2004-10-15
    • status: open --> closed
     
  • Maarten Brock

    Maarten Brock - 2004-10-15

    Logged In: YES
    user_id=888171

    A similar question is in the bugs list (737001) and it is solved
    for most stable ports.

     

Log in to post a comment.