[PATCH] rpcrt4/tests: Run RPC tests in both mixed and fully interpreted mode.

Jacek Caban jacek at codeweavers.com
Wed Jan 23 07:09:23 CST 2019


On 1/23/19 1:35 PM, Dmitry Timoshkov wrote:
> Jacek Caban <jacek at codeweavers.com> wrote:
>
>> +static int __cdecl (*int_return)(void);
>> +static int __cdecl (*square)(int x);
>> +static int __cdecl (*sum)(int x, int y);
>> +static signed char __cdecl (*sum_char)(signed char x, signed char y);
>> +static short __cdecl (*sum_short)(short x, short y);
> ...
>
> __cdecl should be inside of parentheses so that the calling convention
> belongs to the function and not to the return type, otherwise MSVC would
> fail to compile such declarations.


Good catch, I will send a new patch. Ideally it would use typeof(), but 
it's also problematic for MSVC...


Thanks,

Jacek




More information about the wine-devel mailing list