August 12, 2017 [Issue 17747] New: extern(C) shared static module constructor should be called in betterC programs | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17747 Issue ID: 17747 Summary: extern(C) shared static module constructor should be called in betterC programs Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: blocker Priority: P1 Component: dmd Assignee: nobody@puremagic.com Reporter: ilyayaroshenko@gmail.com This extern(C) shared static this() { ... } and pragma(mangle, "a_name") extern(C) shared static this() { ... } should be called in betterC single file program with main. If I am not wrong they can be called before C main, in start. OS: macos DMD version: 2.075 -- |
Copyright © 1999-2021 by the D Language Foundation