[PATCH] widl: Support midl_pragma default option

Jacek Caban jacek at codeweavers.com
Tue Feb 9 06:31:03 CST 2021


On 08.02.2021 14:00, Andrew Boyarshin wrote:
> This should essentially be "reset to default behavior" for specified
> warnings, which is what "enabling" does in WIDL.
> Increases IDL file format compatibility.
>
> Signed-off-by: Andrew Boyarshin <andrew.boyarshin at gmail.com>


This causes a compile warning when building widl:

tools/widl/parser.y:433:43: warning: passing argument 1 of ‘do_warning’ 
discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]


do_warning() should probably take const char* as an argument.


Thanks,

Jacek




More information about the wine-devel mailing list