Cycle detected between modules with ctors/dtors

Steven Schveighoffer schveiguy at yahoo.com
Mon Apr 25 07:26:46 PDT 2011


On Sat, 23 Apr 2011 02:16:22 -0400, Mandeep <mandeep at brars.co.in> wrote:

> Hi,
>
> I am trying to compile the code that was working with dmd 2.050 using  
> dmd 2.052.
>
> The code compiles but it gives me errors with message when trying to run:
>
> Cycle detected between modules with ctors/dtors

The cyclic module import code was changed significantly in 2.051, due to  
this bug:

http://d.puremagic.com/issues/show_bug.cgi?id=4384

I would appreciate if you think the cycle is not correct to post a case of  
where cycle detection is flagging a cycle that shouldn't be considered a  
cycle.

-Steve


More information about the Digitalmars-d-learn mailing list