[fpc-devel] inline... and philosophy
pascaldragon at googlemail.com
Sun Nov 10 09:24:41 CET 2019
J. Gareth Moreton <gareth at moreton-family.com> schrieb am So., 10. Nov.
> Does the smart linker strip out LCL components that are not used, or must
> everything that's registered in a package or unit be included? Granted,
> since forms are being read from a resource file, I doubt it can really be
> tied into the compiler that closely
As long as one doesn't include the function that does the Registration then
components that are not used should be smart linked away. Cause even if
you're reading from a resource file there is still the use of the component
inside the form's declaration and thus the compiler as its usage reference.
The only problematic part might be the widgetset backend itself where
things might not be able to be smartlinked away that nicely.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-devel