Forum Navigation
D compiler and phobos/object.d are mismatched?
Posted: 04/03/07 14:32:19Hi,
I tried Tango 0.96b2 a little bit with dmd.1.010/win32 in the last couple of days and found something strange.
Tango works OK unless I define a class in my source code. If I do, the compiler stops at the line saying
class CClass
with the error message:
class [source file name].[class name] D compiler and phobos/object.d are mismatched
I first thought it was some kind of incompatibility of the binary distribution of tango and the current version of dmd, so I started over with a freshly installed dmd and dm and the source distribution of tango, but when I run build-dmd.bat, I get
dmd -c -release -O -inline -w genobj.d -ofgenobj.obj
genobj.d(83): class object.Object D compiler and phobos/object.d are mismatched
genobj.d(237): class object.ClassInfo? D compiler and phobos/object.d are mismatched
genobj.d(274): class object.TypeInfo? D compiler and phobos/object.d are mismatched
genobj.d(344): class object.TypeInfo?_Typedef D compiler and phobos/object.d are mismatched
genobj.d(373): class object.TypeInfo?_Enum D compiler and phobos/object.d are mismatched
genobj.d(377): class object.TypeInfo?_Pointer D compiler and phobos/object.d are mismatched
genobj.d(422): class object.TypeInfo?_Array D compiler and phobos/object.d are mismatched (...)
This obviously is no common problem. If I enter the bug message into Google, I get two matches (unfortunately both in Japanese, so I don't understand).
Has anybody any idea what's going wrong?
Best regards, Dr_Vitus