"D" annoyances

Tower Ty towerty at msn.com.au
Wed Mar 19 03:42:33 PDT 2008


> > Ty Tower Wrote:
> > 
> > > Take them as things to be fixed or deny their existence 
> > > 
> > > Either way I will post here the stupid things I find as I go through bits and pieces .
> > > The best critic is the most schooled in the subject

DMD comes with samples - one in particular won't compile

This is the error
d2html.d(335): Error: identifier 'ReadError' is not defined
d2html.d(335): Error: ReadError is used as a type


and this the offending program piece
	}
	// if end of file is reached and we try to read something
	// with typed read(), a ReadError is thrown; in our case,
	// this means that job is successfully done
	catch (ReadError e)
	{
Dunno at this stage where ReadError comes from

Now looking at the English above  what do they mean "with typed read() 
Should that be "with type read()"........"with a keyboard entry"......"with method read()"......."with function read()" .........God knows




More information about the Digitalmars-d mailing list