FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

utf.d(49): Error: identifier 'Error' is not defined

 
Post new topic   Reply to topic     Forum Index -> Build
View previous topic :: View next topic  
Author Message
Nox / Lux



Joined: 07 Jun 2006
Posts: 18

PostPosted: Mon Mar 12, 2007 6:05 am    Post subject: utf.d(49): Error: identifier 'Error' is not defined Reply with quote

Hello,

I have a problem where the following occurs whenever I compile something (anything) with bud. Seems to work fine with straight dmd or Code::Blocks.
Code:
C:\dmd\src\phobos\std\utf.d(49): Error: identifier 'Error' is not defined
C:\dmd\src\phobos\std\utf.d(49): Error: Error is used as a type
C:\dmd\src\phobos\std\utf.d(49): class std.utf.UtfError base type must be class or interface, not void
C:\dmd\src\phobos\std\array.d(6): Error: identifier 'Error' is not defined
C:\dmd\src\phobos\std\array.d(6): Error: Error is used as a type
C:\dmd\src\phobos\std\array.d(6): class std.array.ArrayBoundsError base type must be class or interface, not void
C:\dmd\src\phobos\std\format.d(68): Error: identifier 'Error' is not defined
C:\dmd\src\phobos\std\format.d(68): Error: Error is used as a type
C:\dmd\src\phobos\std\format.d(68): class std.format.FormatError base type must be class or interface, not void
C:\dmd\src\phobos\std\math.d(64): Error: identifier 'Error' is not defined
C:\dmd\src\phobos\std\math.d(64): Error: Error is used as a type
C:\dmd\src\phobos\std\math.d(64): class std.math.NotImplemented base type must be class or interface, not void
C:\dmd\src\phobos\std\dateparse.d(36): Error: identifier 'Error' is not defined
C:\dmd\src\phobos\std\dateparse.d(36): Error: Error is used as a type
C:\dmd\src\phobos\std\dateparse.d(36): class std.dateparse.DateParseError base type must be class or interface, not void
C:\dmd\src\phobos\std\stream.d(1290): function std.stream.Stream.toString function toString does not override any

The compiler has a point - where IS 'Error' defined.

Any ideas what might cause this?

(DMD is at 1.009)
Back to top
View user's profile Send private message
Derek Parnell



Joined: 22 Apr 2004
Posts: 408
Location: Melbourne, Australia

PostPosted: Mon Mar 12, 2007 5:43 pm    Post subject: Re: utf.d(49): Error: identifier 'Error' is not defined Reply with quote

Nox / Lux wrote:
Hello,

I have a problem where the following occurs whenever I compile something (anything) with bud. Seems to work fine with straight dmd or Code::Blocks.

'Error' is defined in object.d

It sounds like you are not linking with the phobos library supplied by digital mars. Have you installed Tango or something else that has modified/replaced phobos library?
_________________
--
Derek
skype name: derek.j.parnell
Back to top
View user's profile Send private message
Nox / Lux



Joined: 07 Jun 2006
Posts: 18

PostPosted: Wed Mar 21, 2007 4:24 am    Post subject: Reply with quote

You are very right, sir! Tango was interefering with the compilation. Many thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Build All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group