finding a circular dependency
Ellery Newcomer
ellery-newcomer at utulsa.edu
Mon Jun 21 16:00:42 PDT 2010
On 06/21/2010 01:51 PM, 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?
>
> :P
>
> I do not look forward to tracking this one down...
>
> -Steve
A long time ago I wrote a utility that finds these cycles. I'll see if I
can't kick-start it for D2.
More information about the Digitalmars-d
mailing list