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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Oct 13 22:41:00 PDT 2013


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



--- Comment #12 from Denis Shelomovskij <verylonglogin.reg at gmail.com> 2013-10-14 09:40:59 MSD ---
(In reply to comment #11)
> This may fix it:
> 
> https://github.com/D-Programming-Language/dmd/pull/2661

Why "may"? It will definitely workaround at in debug mode as it disables symbol
discarding at all and will have no effect in no-debug mode. This issue isn't
related to "-debug" switch.

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

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