mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
Update the interface-check warning to be more descriptive.
This commit is contained in:
parent
5e6b25c917
commit
5c1875ba28
1 changed files with 2 additions and 2 deletions
|
@ -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) : "");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue