[Issue 14828] [REG2.067] duplicate symbol __ModuleInfoZ depending on ordering of files passed to dmd
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Tue Aug 4 13:33:39 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=14828
--- Comment #17 from github-bugzilla at puremagic.com ---
Commits pushed to stable at https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/679275df8615740fcc1b1f8efb064ef0174e9d6d
fix Issue 14828 - duplicate symbol __ModuleInfoZ
- always emit __arrayZ/__assertZ/__unittest_failZ helpers (even in release)
to avoid linkage issues when instantiating a template of that module
with different compiler flags
- also fixes Issue 14748 - Removing std.stdio import causes 2x increase in
"Hello, world"
same underlying issue, some undefined helper function drag in a different
module which happens to have weak definitions of those helpers
https://github.com/D-Programming-Language/dmd/commit/2e15e16658a0416003e9fcf9ed7dfcd45e0da844
Merge pull request #4858 from MartinNowak/fix14828
fix Issue 14828 - duplicate symbol __ModuleInfoZ
--
More information about the Digitalmars-d-bugs
mailing list