[Issue 2166] New: More stuff that doesn't compile in Phobos
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Jun 24 04:22:59 PDT 2008
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 at digitalmars.com
ReportedBy: ary at esperanto.org.ar
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);
--
More information about the Digitalmars-d-bugs
mailing list