Bug 15834 – Import of std.stdio (std.stdiobase) in dll fails

Status
NEW
Severity
normal
Priority
P3
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2016-03-26T21:09:50Z
Last change time
2024-12-13T18:47:15Z
Keywords
dll
Assigned to
No Owner
Creator
Richard
Moved to GitHub: dmd#19108 →

Comments

Comment #0 by richard.sams — 2016-03-26T21:09:50Z
If you import module from an external dll which has a circular reference on "import std.stdio;" the build will fail; Seems a problem with: module std.stdiobase; extern(C) void std_stdio_static_this(); shared static this() { std_stdio_static_this(); } If i comment out the "shared static this()" the build runs ok.
Comment #1 by robert.schadek — 2024-12-13T18:47:15Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/19108 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB