From: Hans Leidekker hans@codeweavers.com
--- tools/widl/parser.y | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/tools/widl/parser.y b/tools/widl/parser.y index 749331ef425..7cb42184520 100644 --- a/tools/widl/parser.y +++ b/tools/widl/parser.y @@ -2993,6 +2993,11 @@ static void check_constructor_interfaces( const type_t *runtimeclass ) { check_composition_interface( value->u.var->declspec.type ); } + else if (attr->type == ATTR_STATIC) + { + if (!value->u.var->declspec.type->defined) + error_at( &attr->where, "static interface %s is undefined\n", value->u.var->declspec.type->name ); + } } }