On Tuesday, 8 March 2016 at 23:13:32 UTC, Anon wrote:
On Tuesday, 8 March 2016 at 20:26:04 UTC, Yuxuan Shui wrote:
[...]
[Note: I phrase my answer in terms of Linux shared libraries
(*.so) because D doesn't actually have proper Windows DLL
support yet. The same would apply to DLLs, it just feels wrong
describing functionality that doesn't exist.]
[...]
Can we left TypeInfo symbol undefined in the shared libraries?
i.e. D compiler will strip out TypeInfo definition when creating
.so. (Alternatively, we can have TypeInfo always undefined in .o,
and generate them in linking stage only when creating executables)