30 Jul
2025
30 Jul
'25
12:50 p.m.
From: Hans Leidekker <hans(a)codeweavers.com> --- tools/widl/parser.y | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/widl/parser.y b/tools/widl/parser.y index 51856152296..f61588df601 100644 --- a/tools/widl/parser.y +++ b/tools/widl/parser.y @@ -2612,6 +2612,8 @@ static void check_remoting_args(const var_t *func) break; } } + else if (is_attr( arg->attrs, ATTR_RETVAL )) + error_at( &arg->where, "retval parameter \'%s\' of function \'%s\' must have out attribute\n", arg->name, funcname ); check_field_common(func->declspec.type, funcname, arg); } -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/8670