[Issue 6461] multiple definitions with typeid and multiobj

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu May 30 23:58:47 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=6461



--- Comment #8 from Rainer Schuetze <r.sagitario at gmx.de> 2013-05-30 23:58:45 PDT ---
"multiobj" is a term used in the compiler source when a module is split into
multiple object files (one for each function) to allow linking only referenced
functions. It is enabled when you bulid with "-lib". 

So "dmd -lib a.d" produces a library with 4 objects. If you then run "dmd -lib
b.d a.lib", dmd does the same for b.d and then merges the other lib a.lib into
b.lib. Doing so it detects the multiple definitions.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list