August 17, 2010 Error: identifier 'string' is not defined | ||||
---|---|---|---|---|
| ||||
After upgrading an ubuntu machine from 2.047 to 2.048 I am getting an error: /usr/include/d/dmd/phobos/std/traits.d(25): Error: identifier 'string' is not defined I doesn't matter what I compile. I added alias immutable(char[]) string to traits.d Then I get the following error. /usr/include/d/dmd/phobos/std/metastrings.d(131): Error: identifier 'string' is not defined Where is string defined, and why is it not in the deb installer? Sorry if someone has already posted this, but I did a google site search and came up with nothing on D2. -B |
August 17, 2010 Re: Error: identifier 'string' is not defined | ||||
---|---|---|---|---|
| ||||
Posted in reply to Byron Heads | On Tue, 17 Aug 2010 19:31:58 +0000, Byron Heads wrote:
> After upgrading an ubuntu machine from 2.047 to 2.048 I am getting an error:
>
> /usr/include/d/dmd/phobos/std/traits.d(25): Error: identifier 'string'
> is not defined
>
> I doesn't matter what I compile.
>
> I added
> alias immutable(char[]) string to traits.d
>
> Then I get the following error.
>
> /usr/include/d/dmd/phobos/std/metastrings.d(131): Error: identifier
> 'string' is not defined
>
> Where is string defined, and why is it not in the deb installer?
>
> Sorry if someone has already posted this, but I did a google site search and came up with nothing on D2.
>
> -B
I purged dmd from my system and reinstalled and it went away. I think it had to do with changes I made to /etc/dmd.conf
|
Copyright © 1999-2021 by the D Language Foundation