D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.

Issue 2166

Summary: More stuff that doesn't compile in Phobos
Product: D Reporter: Ary Borenszweig <ary>
Component: phobosAssignee: Walter Bright <bugzilla>
Status: RESOLVED FIXED
Severity: normal
Priority: P2
Version: D1 (retired)
Hardware: x86
OS: Linux

Description Ary Borenszweig 2008年06月24日 06:22:55 UTC
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 Walter Bright 2008年06月27日 16:44:17 UTC
Don's right. For some reason the fix is in 2.0 Phobos, but is not in 1.0.
Comment 2 Walter Bright 2008年07月09日 22:44:09 UTC
Fixed dmd 1.032

AltStyle によって変換されたページ (->オリジナル) /