rpcdce.h fixes

Francois Gouget fgouget at free.fr
Fri Dec 20 11:21:11 CST 2002


On Fri, 20 Dec 2002, Dimitrie O. Paun wrote:

> On December 20, 2002 04:55 am, Ove Kaaven wrote:
> > It does, but it was more difficult to get things (rpcrt4 in particular) to
> > compile without warnings (or huge piles of typecasts) this way, so I
> > decided to just use LPSTR/LPWSTR instead in the rpc headers. Didn't think
> > it would cause problems.
>
> It does, in C++ because of stronger typing than in C. We can do a conditional
> thing #ifdef __WINE__ ... Alexandre?

No. If it's supposed to be 'unsigned char*' then that's how it should be
and Wine's code just has to deal with it.



-- 
Francois Gouget         fgouget at free.fr        http://fgouget.free.fr/
 "Only wimps use tape backup: _real_ men just upload their important stuff on
       ftp, and let the rest of the world mirror it ;)" -- Linus Torvalds




More information about the wine-devel mailing list