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
---

Reply via email to