Daniël Mantione wrote:
> 
> Op Wed, 18 Oct 2006, schreef Micha Nelissen:
> 
>> Would be nice if somehow smartlinking could be 'smartened' to optimize
>> this out. (Conditional initialization for group of variables/functions?)
> 
> Yes :) I thought at least a hundred times about it during the last ten 
> years, but I never came up with an idea that is both clean and doable in 
> implementation.

I thought there was already one ? 'unit export' or something alike,
where you can re-export all types defined in another unit in this unit.
If nothing is used from that unit, it is completely smartlinked out,
including initialization/finalization.

Micha
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to