[fpc-devel] Interfaces vs. smartlink issue

Sergei Gorelkin sergei_gorelkin at mail.ru
Mon Jan 21 11:51:04 CET 2008


Hello,

I noticed that, within a unit, all interface wrappers (groups of 
'WRPR_*' symbols) are placed into one "assembler unit" together with 
unit initialization/finalization code (sorry, do not know the exact term 
for "assember unit").
As a consequence, init/final code pulls in *all* interface wrappers, 
which in turn pull in every class that implement an interface. That 
effectively disrupts smartlinking of the unit.
Does this happen on purpose? Perhaps each interface wrapper should be 
placed into its own "assembler unit"?

Sergei



More information about the fpc-devel mailing list