https://issues.dlang.org/show_bug.cgi?id=16547
Vladimir Panteleev <thecybersha...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |thecybersha...@gmail.com --- Comment #1 from Vladimir Panteleev <thecybersha...@gmail.com> --- (In reply to Gary Willoughby from comment #0) > When building an executable and using the -betterC flag using DMD v2.070.0 > the symbols emitted from the above program are thus: > > 0000000000000000 T _main > U _printf I can't reproduce this. $ uname -a Linux home.thecybershadow.net 4.7.4-1-ARCH #1 SMP PREEMPT Thu Sep 15 15:24:29 CEST 2016 x86_64 GNU/Linux $ dmd --version DMD64 D Compiler v2.070.0 Copyright (c) 1999-2015 by Digital Mars written by Walter Bright $ cat test.d import core.stdc.stdio; extern(C) void main() { printf("Hello World!\n"); } $ dmd -betterC test $ nm test | wc -l 1814 --