https://bugs.winehq.org/show_bug.cgi?id=47159 Bug ID: 47159 Summary: widl ignores calling convention when declaring functions with extraneous parenthesis Product: Wine Version: 4.6 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: rpc Assignee: wine-bugs(a)winehq.org Reporter: richard(a)torproject.org Distribution: --- When declaring a __stdcall function foo like so widl discards the calling convention attribute. This snippet: void (__stdcall foo)(void); will generate: void foo(void); A bit of an edge case, looks like the parser grammar will need to be changed. As a side effect, this snippet: extern int (__stdcall someval); will generate: extern int someval; -- 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.