What exactly does the compiler switch -betterC do?

Martin Nowak via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Oct 6 14:57:08 PDT 2016


On Wednesday, 5 October 2016 at 12:42:14 UTC
On Wednesday, 5 October 2016 at 12:42:14 UTC, Jacob Carlborg 
wrote:
> No. There's a difference between DMD 2.070.0 and 2.071.0:

OK, I'll retry on OSX, the bug report said Linux though. Seems 
like we're dragging in all of the _Dmain stuff. IIRC _Dmain is 
marked as weak in some extra C file, but the problem might be 
unrelated to that.
https://issues.dlang.org/show_bug.cgi?id=16547


More information about the Digitalmars-d-learn mailing list