Hitchikers Guide to Porting Phobos / D Runtime to other architectures

Jacob Carlborg doob at me.com
Thu Jan 9 02:47:38 PST 2014


On 2014-01-08 16:25, Johannes Pfau wrote:

> The compiler can not know that a struct isn't used/void initialized.
> With separate compilation TypeInfo is output in object A.o and could be
> used from any other object. So only the linker actually knows for sure
> if the TypeInfo is used (There are exceptions where even the linker
> can't know that. Think of dynamic libraries).

Right, separate compilation always ruins the day :(

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list