compiler message

Ant duitoolkit at yahoo.ca
Mon Mar 6 11:09:09 PST 2006


could dmd give an error on line 5 as well as line 1?


struct S;

void main()
{
     S* s = new S();
}

gives these messages from DMD

s.d(1): struct s.S unknown size
s.d(1): struct s.S no size yet for forward reference
s.d(1): struct s.S unknown size
s.d(1): struct s.S no size yet for forward reference
Internal error: e2ir.c 1289

(error reported on bugs group)

Ant



More information about the Digitalmars-d mailing list