[Issue 15834] New: Import of std.stdio (std.stdiobase) in dll fails
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sat Mar 26 14:09:50 PDT 2016
https://issues.dlang.org/show_bug.cgi?id=15834
Issue ID: 15834
Summary: Import of std.stdio (std.stdiobase) in dll fails
Product: D
Version: D2
Hardware: x86
OS: Windows
Status: NEW
Severity: normal
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: richard.sams at bool.at
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.
--
More information about the Digitalmars-d-bugs
mailing list