finding a circular dependency

torhu no at spam.invalid
Mon Jun 21 19:26:47 PDT 2010


On 21.06.2010 20:51, Steven Schveighoffer wrote:
> I've been trying to get a modified version of std.process to compile (with
> Lars K's changes) for windows, and phobos finally compiled.
>
> So I built a little test program, compiled it, and I get the following
> error message:
>
> object.Exception: circular dependency in module std.stdio.
>
> Great.  How did that happen?  Being that I didn't write std.stdio, only
> modified it slightly (and certainly didn't change any imports), I haven't
> the foggiest where this problem is.  Given that the runtime can prove
> there is a circular dependency, and apparently knows the names of the
> modules, how about showing me the cycle?

Did you add any imports at all?  Try commenting them and any code that 
depends on them out.


More information about the Digitalmars-d mailing list