DMD 0.154 release

BCS BCS_member at pathlink.com
Thu Apr 13 14:22:34 PDT 2006


Walter Bright wrote:
> Had to do an update since --gc-sections broke exception handling.
> 
> Also, 'I' and 'l' integer suffixes are deprecated, because in many fonts 
> they are indistinguishable from each other and from '1'.
> 
> http://www.digitalmars.com/d/changelog.html

I is anyone else haveing probles with .154 on linux?

this compiles

/******************************/
import std.stdio;
void main()
{
writef("hello world\n");
}
/******************************/


this compiles on winXP but not linux

/******************************/
import std.stream;
void main()
{
	auto s = new BugStream();
}
class BugStream : Stream
{
	this(){}

	size_t readBlock(void* buffer, size_t size){}

	size_t writeBlock(void* buffer, size_t size){}

	bool seekable(){return false;}

	ulong seek(long offset, SeekPos whence)
	{
		throw new SeekException("BugStream can't seek");
	}

}
/******************************/



More information about the Digitalmars-d-announce mailing list