ERROR: circular initialization dependency with module

Derek Parnell derek at psych.ward
Thu Mar 9 08:05:33 PST 2006


On Fri, 10 Mar 2006 02:26:43 +1100, Cris <central_p at hotmail.com> wrote:

> What does this run-time error message mean?

It means that two or more modules import each other and at least one has a  
ctor or dtor.

I quote the manual ...

"Cycles (circular dependencies) in the import declarations are allowed as  
long as not both of the modules contain static constructors or static  
destructors. Violation of this rule will result in a runtime exception."

-- 
Derek Parnell
Melbourne, Australia



More information about the Digitalmars-d mailing list