[Issue 6716] Linking a C program with D library causes DEH errors
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Mon Nov 7 14:25:14 PST 2016
https://issues.dlang.org/show_bug.cgi?id=6716
--- Comment #3 from github-bugzilla at puremagic.com ---
Commits pushed to master at https://github.com/dlang/dmd
https://github.com/dlang/dmd/commit/d312f43000dd63989d84e92a992c6ab0a4bbfb97
fix issue 6716: Linking a C program with D library causes DEH errors
special sections should not be emitted with main, but rt_init. The latter
function has to be called in any case, but main might be provided by C/C++
instead.
https://github.com/dlang/dmd/commit/5ab12bfc54ea4069f288f84f664098b8e562fe04
add test for issue 6716
https://github.com/dlang/dmd/commit/d057ce717be09106019b54b8c740673960725a13
Merge pull request #6245 from rainers/ehsections_rt_init
fix issue 6716: Linking a C program with D library causes DEH errors
--
More information about the Digitalmars-d-bugs
mailing list