bearophile wrote:
Walter Bright:
Because of separate compilation, that can't be done with the compiler in the general case. The linker can, though.

LDC is able to do it already! I don't need 100% general solutions.

Are you sure LDC isn't doing it at the link step?

Regardless, if you implement a half solution in the compiler, and then a full solution in the linker, you've doubled your effort for the same result. This may be a practical solution, however, if you desire to work with any linker, including ones you have no control over.

Reply via email to