digitalmars.D.learn - Class mismatch error (D compiler/Phobos)
- Márcio Faustino (5/5) Aug 03 2007 Hi,
- BCS (2/10) Aug 03 2007 I would assume that your copy of phobos and DMD are not from the same ve...
- Márcio Faustino (5/6) Aug 03 2007 Yes they're not, but this is on purpose. Previously (with DMD v1.x) I'd ...
- BCS (4/16) Aug 03 2007 this might have somthing to do with it.
- =?UTF-8?B?TcOhcmNpbyBGYXVzdGlubw==?= (4/19) Aug 03 2007 I might not have explained myself very well. What I'm doing is compiling...
- Sean Kelly (7/25) Aug 03 2007 You need to keep your stripped down version of Phobos in sync with the
- =?UTF-8?B?TcOhcmNpbyBGYXVzdGlubw==?= (3/15) Aug 04 2007 Thanks guys, I think I got it working now. If I have more questions I'll...
Hi, Can someone help me on this error: phobos/internal/object.d(91): class internal.object.Object D compiler and phobos/object.d are mismatched Thanks,
Aug 03 2007
Reply to Márcio,Hi, Can someone help me on this error: phobos/internal/object.d(91): class internal.object.Object D compiler and phobos/object.d are mismatched Thanks,I would assume that your copy of phobos and DMD are not from the same version
Aug 03 2007
Reply to BCS,I would assume that your copy of phobos and DMD are not from the same > versionYes they're not, but this is on purpose. Previously (with DMD v1.x) I'd just compile like this: dmd file.d -Iphobos -release -w -debug -c -offile.o with my own version of Phobos and it'd just work. Now it doesn't. Do you have any idea why?
Aug 03 2007
Reply to Márcio Faustino,Reply to BCS,this might have somthing to do with it. http://www.digitalmars.com/d/1.0/changelog.html#new1_017 Added __VENDOR__ and __VERSION__.I would assume that your copy of phobos and DMD are not from the sameYes they're not, but this is on purpose. Previously (with DMD v1.x) I'd just compile like this: dmd file.d -Iphobos -release -w -debug -c -offile.o with my own version of Phobos and it'd just work. Now it doesn't. Do you have any idea why?version
Aug 03 2007
BCS wrote:Reply to Márcio,I might not have explained myself very well. What I'm doing is compiling source code with a stripped down version of Phobos, and that error keeps happening. But previously, with DMD v1.x, that didn't happen.Hi, Can someone help me on this error: phobos/internal/object.d(91): class internal.object.Object D compiler and phobos/object.d are mismatched Thanks,I would assume that your copy of phobos and DMD are not from the same version
Aug 03 2007
Márcio Faustino wrote:BCS wrote:You need to keep your stripped down version of Phobos in sync with the version of Phobos shipped with the compiler you're using. At least insofar as the public object.d and what's inside /internal. This particular error sounds like the public object.d and internal/object.d disagree about something important. SeanReply to Márcio,I might not have explained myself very well. What I'm doing is compiling source code with a stripped down version of Phobos, and that error keeps happening. But previously, with DMD v1.x, that didn't happen.Hi, Can someone help me on this error: phobos/internal/object.d(91): class internal.object.Object D compiler and phobos/object.d are mismatched Thanks,I would assume that your copy of phobos and DMD are not from the same version
Aug 03 2007
Sean Kelly wrote:Márcio Faustino wrote:Thanks guys, I think I got it working now. If I have more questions I'll post them here. Again, thanks.I might not have explained myself very well. What I'm doing is compiling source code with a stripped down version of Phobos, and that error keeps happening. But previously, with DMD v1.x, that didn't happen.You need to keep your stripped down version of Phobos in sync with the version of Phobos shipped with the compiler you're using. At least insofar as the public object.d and what's inside /internal. This particular error sounds like the public object.d and internal/object.d disagree about something important. Sean
Aug 04 2007