From: Hans Leidekker hans@codeweavers.com
midlrt does require a default interface when the runtimeclass is used as a parameter. --- tools/widl/typetree.c | 3 --- 1 file changed, 3 deletions(-)
diff --git a/tools/widl/typetree.c b/tools/widl/typetree.c index 2f67545393e..af62c2a03ba 100644 --- a/tools/widl/typetree.c +++ b/tools/widl/typetree.c @@ -854,9 +854,6 @@ type_t *type_runtimeclass_define(type_t *runtimeclass, attr_list_t *attrs, runtimeclass->attrs = check_runtimeclass_attrs(runtimeclass->name, attrs); runtimeclass->details.runtimeclass.ifaces = ifaces; define_type(runtimeclass, where); - if (!type_runtimeclass_get_default_iface(runtimeclass, FALSE) && - !get_attrp(runtimeclass->attrs, ATTR_STATIC)) - error_loc("runtimeclass %s must have a default interface or static factory\n", runtimeclass->name);
if (ifaces) LIST_FOR_EACH_ENTRY(ref, ifaces, typeref_t, entry) {