any tool to at least partially convert C++ to D (htod for source

Walter Bright newshound1 at digitalmars.com
Wed Mar 10 10:14:13 PST 2010


Jacob Carlborg wrote:
> I've always wonder why that is. I mean if I put an empty static 
> constructor in two modules and they import each other I get a circular 
> reference error. Usually when I use static constructors they don't 
> depend on the order of each other. Can't this be fixed if the static 
> constructors don't depend on each other?


I don't know if there's a reasonable way of determining if they depend 
on each other, so dmd assumes they do.



More information about the Digitalmars-d mailing list