Jason Dawes <[EMAIL PROTECTED]> wrote:
> Do static initializers ever get called?

He mispronounced "constructors for objects with static storage duration".

> Aren't they just chunks of memory
> attached to the data segment that the compiler fills with the correct value
> at compile time?

Just to muddy the waters, in GCC they get called via a table of function
pointers, which is indeed a chunk of memory in the data section which the
compiler arranges at compile time to be filled with the correct values.  :-)

    John

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to