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@winehq.org Reporter: richard@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.
https://bugs.winehq.org/show_bug.cgi?id=47149
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |z.figura12@gmail.com Resolution|--- |FIXED Fixed by SHA1| |7e4da76689ecdb9ae49eae91e37 | |59dae03c50644 Component|tools |rpc
--- Comment #1 from Zebediah Figura z.figura12@gmail.com --- Seems to have been fixed by https://source.winehq.org/git/wine.git/commitdiff/7e4da76689ecdb9ae49eae91e3759dae03c50644; thanks Richard.
https://bugs.winehq.org/show_bug.cgi?id=47149
--- Comment #2 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 4.15.
https://bugs.winehq.org/show_bug.cgi?id=47149
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 4.15.