[fpc-devel] virtual methods and smart-linking?

Martin Friebe fpc at mfriebe.de
Thu Apr 9 14:35:56 CEST 2009

Just a question. Can smart linking detect and remove unused virtual methods?

I did a few tests and it seems it does not remove them. If I understand 
it correctly, then this could be because virtual methods are nver 
directly linked (they go via the VMT) so the linker would not know?

Best Regards

More information about the fpc-devel mailing list