[Issue 10793] Forward reference errors casting from void* to opaque struct pointer

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Aug 12 00:42:10 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=10793



--- Comment #6 from Mike Parker <aldacron at gmail.com> 2013-08-12 00:42:08 PDT ---
(In reply to comment #4)
> He just missed a 'new' before RealFoo, I guess.

Actually, I missed an '&'!

void* prf = cast( void* )rf;

But new works, too!

Given that this works with git head, I wonder about bug 10451.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list