January 28, 2004
Hallo Walter,

I'm sorry but It seems I found a bug in your compiler.

If I try to compile

class DataType : object
{
	dchar[] name;
}

using the 0.79 linux version of dmd it sigsevs.

It compiles if I don't give a base class.

January 28, 2004
Stephan Wienczny wrote:
> Hallo Walter,
> 
> I'm sorry but It seems I found a bug in your compiler.
> 
> If I try to compile
> 
> class DataType : object
> {
>     dchar[] name;
> }
> 
> using the 0.79 linux version of dmd it sigsevs.
> 
> It compiles if I don't give a base class. 

This bug occurs in WindowsXP, too.

This code brings up the "dmd.exe has encountered a problem and needs to close." window:

class DataType : object
{
    dchar[] name;
}

void main()
{
}



Change the first line to this and it seems to work fine:
class DataType : Object


So does this as the first line:
class DataType

-- 
Justin
http://jcc_7.tripod.com/d/