www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Using DMD 1.045 breaks code

reply Fractal <funcode server.com> writes:
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
parent Frits van Bommel <fvbommel REMwOVExCAPSs.nl> writes:
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.
May 16 2009