Bug 2166 – More stuff that doesn't compile in Phobos

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
phobos
Product
D
Version
D1 (retired)
Platform
x86
OS
Linux
Creation time
2008-06-24T06:22:00Z
Last change time
2014-03-01T00:35:59Z
Assigned to
bugzilla
Creator
ary

Comments

Comment #0 by ary — 2008-06-24T06:22:55Z
I'm opening this bug after #2092 in order to have them separated. 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);
Comment #1 by bugzilla — 2008-06-27T16:44:17Z
Don's right. For some reason the fix is in 2.0 Phobos, but is not in 1.0.
Comment #2 by bugzilla — 2008-07-09T22:44:09Z
Fixed dmd 1.032