Circular initialization dependency error?

Márcio Faustino m.faustino at gmail.com
Fri Jul 18 03:28:12 PDT 2008


Hi,

If I import the "std.stdio" module after "std.date" and use writefln, DMD 2.014 compiles just fine, but running the program yields an error: "Error: circular initialization dependency with module std.date".

But, if I switch the order of the imports then no error happens. Is this behaviour normal?

Thanks,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: error.d
Type: application/octet-stream
Size: 93 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-bugs/attachments/20080718/2817afcf/attachment.obj>


More information about the Digitalmars-d-bugs mailing list