[Bug 47149] New: widl generates invalid C headers when user-defined structs also have const typedef 'd names
wine-bugs at winehq.org
wine-bugs at winehq.org
Wed May 8 19:11:01 CDT 2019
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 at winehq.org
Reporter: richard at 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.
More information about the wine-bugs
mailing list