http://d.puremagic.com/issues/show_bug.cgi?id=8119
Summary: Cannot cast from void* to forwarded struct pointer Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: major Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: degener_tr...@mail.ru --- Comment #0 from Shire <degener_tr...@mail.ru> 2012-05-19 01:46:13 PDT --- extern(C) { struct PrivateStruct; // private struct in external C library void* Foo(); // external function returns untyped pointer to PrivateHandle } PrivateHandle* ptr = null; // ok ptr = cast(PrivateHandle*)Foo(); // PrivateHandle unknown size -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------