Microsoft Visual C (MSVC) compabillity

Alexandre Julliard julliard at winehq.com
Thu Jan 31 14:57:28 CST 2002


Patrik Stridvall <ps at leissner.se> writes:

> All of the forms:
> 
> (1) void WINAPI (*foo)(void);
> (2) void (* WINAPI foo)(void);
> (3) void (WINAPI *foo)(void);
> 
> Seems to work with gcc. Even with gcc 2.7.x.

I believe the problems were rather with g++. In my 2.95.4 version,
case (2) still doesn't work (well it compiles but generates wrong
code). Case (3) works though, so that sounds like the way to go, I'll
apply your patch.

-- 
Alexandre Julliard
julliard at winehq.com




More information about the wine-devel mailing list