On 2021-04-06 12:22, LacaK via fpc-pascal wrote:
May be, that important word is here "referenced" code.
Once some code (procedure, class) is referenced then this code is
linked / included.
It does not play role if it is really required by program / library ...
right?
It is impossible for a linker to know whether code is "really required".
It doesn't know what code does. It only knows whether or not it
(theoretically) can get executed.
Jonas
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal