[Issue 16547] -betterC switch no longer removes druntime symbols
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Fri Oct 7 09:18:31 PDT 2016
https://issues.dlang.org/show_bug.cgi?id=16547
--- Comment #4 from Martin Nowak <code at dawg.eu> ---
Apparently happens b/c of __dmd_personality_v0 being emitted with -betterC.
A simple workaround is to add a dummy personality symbol to your binary, e.g.
in the same object file as main.
extern(C) __gshared int __dmd_personality_v0;
Not sure if we did disable EH for -betterC. Would make sense, right?
--
More information about the Digitalmars-d-bugs
mailing list