On Dec 16, 2011, at 2:00 PM, Andrei Alexandrescu wrote: > > I'm not an expert in linkers, but my understanding is that linkers naturally > remove unused object files. That, coupled with dmd's ability to break > compilation output in many pseudo-object files, would take care of the > matter. Truth be told, once you link in Object.factory(), bam - all classes > are linked.
There's an old bugzilla entry that may apply: http://d.puremagic.com/issues/show_bug.cgi?id=879