[Issue 20248] Module constructors in executable called twice, never in loaded shared library

2022-12-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20248 Iain Buclaw changed: What|Removed |Added Priority|P1 |P2 --

[Issue 20248] Module constructors in executable called twice, never in loaded shared library

2021-07-29 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20248 --- Comment #3 from kinke --- There's a related issue regarding CRT ctors - if both executable and library contain an identically mangled `pragma(crt_constructor)` function (doesn't even need to be in the same module - and name collision is quite

[Issue 20248] Module constructors in executable called twice, never in loaded shared library

2021-07-29 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20248 kinke changed: What|Removed |Added Keywords||backend Component|druntime

[Issue 20248] Module constructors in executable called twice, never in loaded shared library

2021-07-29 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20248 --- Comment #2 from kinke --- Further tests have shown that with DMD, the ModuleInfos of modules contained in both executable and library are apparently resolved to the executable's. E.g., versioning out the module ctor in `modcon2.d` for the

[Issue 20248] Module constructors in executable called twice, never in loaded shared library

2021-07-05 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20248 kinke changed: What|Removed |Added CC||ki...@gmx.net --- Comment #1 from kinke --- This

[Issue 20248] Module constructors in executable called twice, never in loaded shared library

2019-09-27 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20248 John Colvin changed: What|Removed |Added Keywords||industry, wrong-code --

[Issue 20248] Module constructors in executable called twice, never in loaded shared library

2019-09-27 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20248 John Colvin changed: What|Removed |Added Summary|Module constructors in |Module constructors in