Jacek Caban jacek@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.