http://d.puremagic.com/issues/show_bug.cgi?id=9922
Summary: Improve symbol emitting for templates for better
separate compilation support
Product: D
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Dicebot <[email protected]> 2013-04-11 11:09:58 PDT ---
Currently all of them are generated to object file associated with module
supplied to the command line. For separate compilation scenario that means that
ALL template symbols from ALL imported modules are emitted into compiled single
module.
Most time it is just extra job for linker, but sometimes this results in nasty
bugs when resulting symbols are not weak ones.
Desired behavior: dmd will tries to find root module where template
instantiation chain has started via call from non-templated scope.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------