From: Groepaz (groepaz_at_gmx.net)
Date: 2003-08-25 21:38:07
On Monday 25 August 2003 19:59, Ullrich von Bassewitz wrote: > had been executed before main() is called. Contrary to popular belief, that > does NOT mean an initialization with binary zero. For example > > double f; > > must be initialized by a 0.0, even if the bit pattern for 0.0 is not all > bits zero (which is true for some machines). The NULL pointer is also > something that must not consist of a value that contains all zero bits > (even if it does on all platforms). wow, i didnt know that... i've worked with a bunch of machines now and never stumbled over one were zeroing out bss would not be the right thing to do.... have an example handy where it would have been wrong by any chance? gpz ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo_at_musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.
This archive was generated by hypermail 2.1.3 : 2003-08-25 21:42:11 CEST