[PATCH] widl: Generate typedefs for namespaced struct / enum types.

Jacek Caban jacek at codeweavers.com
Tue Mar 23 12:47:16 CDT 2021


On 3/23/21 6:20 PM, Rémi Bernon wrote:
> Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
> ---
>   tools/widl/header.c | 24 +++++++++++++++++++-----
>   1 file changed, 19 insertions(+), 5 deletions(-)

I sent the sign-off too soon, this breaks C++:

windows.foundation.h:67:26: error: use of enum ‘PropertyType’ without 
previous declaration

It looks like winrt enums should use explicit types.

Jacek



More information about the wine-devel mailing list