Error: circular initialization dependency with module actor
Frank Benoit (keinfarbton)
benoit at tionex.removethispart.de
Mon Jan 15 12:09:06 PST 2007
orgoton schrieb:
> I have two modules mutually dependent, that means, module actor need module
> queue which needs module actor. It all went fine with older compilers, but
> with DMD1.0 I get "Error: circular initialization dependency with module
> actor" when I try to run the program. How can I fix this?
remove one of the module ctors ("static this()").
http://www.digitalmars.com/d/module.html
see section: Order of Static Construction
More information about the Digitalmars-d
mailing list