Error: circular initialization dependency with module actor

BCS ao at pathlink.com
Mon Jan 15 13:02:38 PST 2007


Reply to Orgoton,

> Queue (class) has
> "public Queue AIQ;"
> defined at the end of the module file. This Queue is used on the
> default
> constructor of Actor (a class). There is no static constructor on
> Actor. The only
> static thing on Queue is the symbol above. Queue however must store a
> list of
> Actor's, hence it has an array of Actor. That is a private member of
> the Queue
> class. Is this the origin of "Error: circular initialization
> dependency with
> module actor"? Why didn't I have this error with previous versions?

Are you using code coverage (the -cov flag)?





More information about the Digitalmars-d mailing list