Update the interface-check warning to be more descriptive.

This commit is contained in:
Jeff Teunissen 2003-07-29 18:53:13 +00:00
parent 5e6b25c917
commit 5c1875ba28
1 changed files with 2 additions and 2 deletions

View File

@ -412,8 +412,8 @@ class_find_method (class_type_t *class_type, method_t *method)
sel = dstring_newstr ();
selector_name (sel, (keywordarg_t *)method->selector);
if (options.warnings.interface_check) {
warning (0, "%s method %s not in %s%s",
method->instance ? "instance" : "class",
warning (0, "Method `%c%s' not found in %s%s's interface",
method->instance ? '-' : '+',
sel->str, class_name,
category_name ? va (" (%s)", category_name) : "");
}