dmd 1.062 and 2.047 release

torhu no at spam.invalid
Sun Jun 13 18:20:53 PDT 2010


I tried the example on page 406-407 of the book (copying stdin to stdout 
using message passing).  I don't mean to be a killjoy, but it doesn't 
compile. :(

I'm using the latest pdf version of the book, and dmd 2.047.


I get this:

---
d:\prog\dmd\bin\..\src\phobos\std\stdio.d(1902): Error: cannot 
implicitly conver
t expression (buffer) of type ubyte[] to immutable(ubyte)[]
d:\prog\dmd\bin\..\src\phobos\std\stdio.d(7): Error: template instance 
std.stdio
.chunks.opApply!(int delegate(ref immutable(ubyte)[] __applyArg0)) error 
instant
iating
---


More information about the Digitalmars-d-announce mailing list