[fpc-devel] CmdLine

Micha Nelissen micha at neli.hopto.org
Wed Oct 18 22:31:47 CEST 2006


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



More information about the fpc-devel mailing list