digitalmars.D.bugs - [Issue 2166] New: More stuff that doesn't compile in Phobos
- d-bugmail puremagic.com (27/27) Jun 24 2008 http://d.puremagic.com/issues/show_bug.cgi?id=2166
- d-bugmail puremagic.com (4/4) Jun 27 2008 http://d.puremagic.com/issues/show_bug.cgi?id=2166
- d-bugmail puremagic.com (9/9) Jul 09 2008 http://d.puremagic.com/issues/show_bug.cgi?id=2166
http://d.puremagic.com/issues/show_bug.cgi?id=2166 Summary: More stuff that doesn't compile in Phobos Product: D Version: 1.032 Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: bugzilla digitalmars.com ReportedBy: ary esperanto.org.ar std.stream ---------- Line 2419: em.fixBO(x3,12); I get "std/stream.d: function fixBO (void*,uint) does not match parameter types (ubyte[12],int)" (and another error following that) Same goes for line 2443. I'm not sure about this, but casting the first argument (x3) to void* solved the problem. Maybe a static ubyte[] was allowed to be implicitly cast to void* in a previous D version. Don suggestion was: I think it should be .ptr, not a cast to void *, eg em.fixBO(x3.ptr,12); --
Jun 24 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2166 Don's right. For some reason the fix is in 2.0 Phobos, but is not in 1.0. --
Jun 27 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2166 bugzilla digitalmars.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED Fixed dmd 1.032 --
Jul 09 2008