[Issue 19875] [betterC] dmd 2.0.86 Allowed class compile

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed May 15 19:09:32 UTC 2019


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

kinke at gmx.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kinke at gmx.net

--- Comment #4 from kinke at gmx.net ---
The reason for this behavior is apparently the extern(D) main function. Make
that extern(C), and druntime/Phobos isn't linked. - There's a DMD special case
for Windows targets, where the object file containing the D main function gets
an embedded linker directive to pull in the library.

--


More information about the Digitalmars-d-bugs mailing list