[Bug 47159] New: widl ignores calling convention when declaring functions with extraneous parenthesis

wine-bugs at winehq.org wine-bugs at winehq.org
Fri May 10 17:26:39 CDT 2019


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 at winehq.org
          Reporter: richard at 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.



More information about the wine-bugs mailing list