Re: [AD] A small bugfix in allegro_exit

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> If init_foo() is setup as a constructor routine, then the foo
> stuff *is* referenced even if I don't use it.

That doesn't matter if init_foo() is contained in the foo module, which is 
the way constructors are used.

> Or, does this mean that constructor routines are viewed by GCC as "weak"
> references that do not imply that stuff referenced by this routine must be 
> brought in the link ?

No, of course.

-- 
Eric Botcazou




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/