Error: identifier 'string' is not defined

Byron Heads wyverex.cypher at gmail.com
Tue Aug 17 12:45:42 PDT 2010


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


More information about the Digitalmars-d-learn mailing list