View previous topic :: View next topic |
Author |
Message |
Nox / Lux
Joined: 07 Jun 2006 Posts: 18
|
Posted: Mon Mar 12, 2007 6:05 am Post subject: utf.d(49): Error: identifier 'Error' is not defined |
|
|
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 |
|
|
Derek Parnell
Joined: 22 Apr 2004 Posts: 408 Location: Melbourne, Australia
|
Posted: Mon Mar 12, 2007 5:43 pm Post subject: Re: utf.d(49): Error: identifier 'Error' is not defined |
|
|
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 |
|
|
Nox / Lux
Joined: 07 Jun 2006 Posts: 18
|
Posted: Wed Mar 21, 2007 4:24 am Post subject: |
|
|
You are very right, sir! Tango was interefering with the compilation. Many thanks. |
|
Back to top |
|
|
|