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

View file

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