May 16, 2009
Hello

After I updated my installed DMD, to 1.045, when I try compile my code, many errors appears, like "Error: class main.Program D compiler and phobos' object.d are mismatched".

What I can do to fix these errors? (Im using Tango)

Thanks
May 16, 2009
Fractal wrote:
> Hello
> 
> After I updated my installed DMD, to 1.045, when I try compile my code, many errors appears, like "Error: class main.Program D compiler and phobos' object.d are mismatched".
> 
> What I can do to fix these errors? (Im using Tango)

Tango added support for 1.045 in r4653: http://www.dsource.org/projects/tango/changeset/4653

So either update to that (or newer) or apply that patch yourself (at least the object.di/object_.d parts).
The relevant part is just a few lines.