if (func->src != NULL)
{
- ERR("in %s:%d: you called a pure virtual func '%s' (%d).",
- file, line, func_name, op);
+ ERR("in %s:%d: you called a pure virtual func '%s' (%d) of class '%s'.",
+ file, line, func_name, op, klass->desc->name);
return EINA_FALSE;
}
if (dladdr(api_func, &info) != 0)
fct_name = info.dli_sname;
#endif
- ERR("in %s:%d: unable to resolve %s api func '%s' %p.",
- file, line, (class_ref ? "class" : "regular"), fct_name, api_func);
+ ERR("in %s:%d: unable to resolve %s api func '%s' %p in class '%s'.",
+ file, line, (class_ref ? "class" : "regular"),
+ fct_name, api_func, klass->desc->name);
return EO_NOOP;
}
Eo *obj = eo_add(SIMPLE_CLASS, NULL);
fail_if(!obj);
- TEST_EO_ERROR("_eo_call_resolve", "in %s:%d: you called a pure virtual func '%s' (%d).");
+ TEST_EO_ERROR("_eo_call_resolve", "in %s:%d: you called a pure virtual func '%s' (%d) of class '%s'.");
eo_do(obj, simple_pure_virtual());
fail_unless(ctx.did);
Eo *obj = eo_add(SIMPLE_CLASS, NULL);
fail_if(!obj);
- TEST_EO_ERROR("_eo_api_op_id_get", "in %s:%d: unable to resolve %s api func %p.");
+ TEST_EO_ERROR("_eo_api_op_id_get", "in %s:%d: unable to resolve %s api func '%s' %p in class '%s'.");
eo_do(obj, simple_no_implementation());
fail_unless(ctx.did);