[Bug 14787] New: widl fails to honour typedef ptr attributes

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Aug 7 06:26:51 CDT 2008


http://bugs.winehq.org/show_bug.cgi?id=14787

           Summary: widl fails to honour typedef ptr attributes
           Product: Wine
           Version: CVS/GIT
          Platform: Other
        OS/Version: other
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: rpc
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: huw at codeweavers.com
                CC: robertshearman at gmail.com, dsh at linux.ucla.edu


See dlls/rpcrt4/epm_c.c .  For example the 'object' parameter of ept_map().

We have (in include/wine/dcetypes.idl)
typedef [ptr] GUID *uuid_p_t;

and (in include/wine/epm.idl)
ept_map(..., uuid_p_t object, ...)

So 'object' should be a full ptr, which is what midl generates.  On the other
hand widl generates a reference ptr.

It looks like this should be fixed up in parser.y:set_type() somewhere.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list