digitalmars.D.bugs - [Issue 17747] New: extern(C) shared static module constructor should
- via Digitalmars-d-bugs (30/30) Aug 12 2017 https://issues.dlang.org/show_bug.cgi?id=17747
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 --
Aug 12 2017