https://bugs.winehq.org/show_bug.cgi?id=47149 Bug ID: 47149 Summary: widl generates invalid C headers when user-defined structs also have const typedef'd names Product: Wine Version: 4.6 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: tools Assignee: wine-bugs(a)winehq.org Reporter: richard(a)torproject.org Distribution: --- Found this one while working on patch for #47035 With an idl snippet like so: struct foo {}; typedef struct foo foo_t; typedef const struct foo cfoo_t; the generated header will contain: struct foo { }; typedef struct foo foo_t; // redefinition of struct foo and discards const qualifier typedef struct foo { } cfoo_t; This bug seems like it will be fixed once the patch for #47035 lands. -- 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.