[Issue 19933] MSVC: Undefined std{in,out,err} with -betterC

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Jan 10 12:55:16 UTC 2021


https://issues.dlang.org/show_bug.cgi?id=19933

--- Comment #2 from kinke <kinke at gmx.net> ---
Just noticed that the OP hasn't used -betterC, but a C main, thus skipping the
druntime initialization (incl. setting std{in,out,err}). With LDC v1.25,
there's no linker error anymore, but the expected segfault as with DMD.

--


More information about the Digitalmars-d-bugs mailing list