[Issue 17747] extern(C) shared static module constructor should be called in betterC programs

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Sep 21 15:52:21 UTC 2017


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

--- Comment #14 from Steven Schveighoffer <schveiguy at yahoo.com> ---
Changing the link order does nothing, because there is one file.

In other words, issue 7063 is a bug, no matter how you build it. It shouldn't
build (hence accepts-invalid).

This proposal is different -- if you link in one order, it will work as
expected. Change that order, and it will blow up. IMO, we should not introduce
this kind of problem.

--


More information about the Digitalmars-d-bugs mailing list