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

--- Comment #0 from Shire <> 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:
------- You are receiving this mail because: -------

Reply via email to