[Issue 16547] -betterC switch no longer removes druntime symbols
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Wed Oct 5 05:42:51 PDT 2016
https://issues.dlang.org/show_bug.cgi?id=16547
Jacob Carlborg <doob at me.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
CC| |doob at me.com
Resolution|INVALID |---
--- Comment #3 from Jacob Carlborg <doob at me.com> ---
$ cat main.d
module main;
extern (C) int printf(in char*, ...);
extern (C) void main()
{
printf("asd\n");
}
$ dvm use 2.070.0
$ dmd --version
DMD64 D Compiler v2.070.0
Copyright (c) 1999-2015 by Digital Mars written by Walter Bright
$ dmd -betterC main.d
$ nm main | wc -l
4
$ dvm use 2.071.0
$ dmd --version
DMD64 D Compiler v2.071.0
Copyright (c) 1999-2015 by Digital Mars written by Walter Bright
$ dmd -betterC main.d
$ nm main | wc -l
2428
--
More information about the Digitalmars-d-bugs
mailing list