mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 04:42:32 +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 ();
|
||||
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) : "");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue