[Issue 11114] Undefined symbols after merging dmd pull #2550

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Oct 14 12:43:41 PDT 2013


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



--- Comment #13 from Walter Bright <bugzilla at digitalmars.com> 2013-10-14 12:43:38 PDT ---
(In reply to comment #12)
> (In reply to comment #11)
> > This may fix it:
> > 
> > https://github.com/D-Programming-Language/dmd/pull/2661
> 
> Why "may"?

Because I haven't checked your case, so I don't know if it is the same issue or
not.

> > Need to also check if imports are compiled with one -version while the importer
> > is compiled with another -version.
> 
> Not possible. The whole final project is compiled in single dmd call. Just one
> of the templates it instantiate is assumed by the compiler to belong to one of
> imported libraries and thus discarded in `FuncDeclaration::toObjFile`.

I'm asking if the reason, in your code, it isn't in the imported libraries is
because it is behind a version declaration?

-- 
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