On 03 Jun 2013, at 22:22, Anthony Walter wrote:

> What this means is that all string constants and typed constants are take
> up space in your executable whether your use them or not, which is not
> ideal IMO. The compiler ought to be able to detect when these constants are
> not referenced (much like not including the machine code of unused
> functions) and exclude them from the final app.

If you turn on "smart linking" (compile with -CX -XX), they will be removed by 
the linker.


Jonas_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to