Question about __attribute__ ((construtor))
Carlo Wood
carlo@alinoe.com
Tue Oct 21 22:15:00 GMT 2003
On Tue, Oct 21, 2003 at 05:04:09PM +0200, Jeroen Benckhuijsen wrote:
> Thanx for your input, it solved a lot of problems. The behaviour I
> experience now is that main() is called BEFORE all of the static
> initialization is done. It this also the way static initialization is
> handled? AFAIK main() isn't called till all of the static
> initializations are done.
If you think that this is a bug of the compiler then
please submit a bug report with a fully working test case
to reproduce the behaviour. You can do so by using
http://gcc.gnu.org/bugzilla/
Information on how to submit a bug report can be found on
http://gcc.gnu.org/bugs.html
If you only seek help, then I am afraid that this is not
the appropriate forum.
Thanks,
--
Carlo Wood <carlo@alinoe.com>
More information about the Gcc-bugs
mailing list