warning message cleanup

This is an imperfect revision of history.
This commit is contained in:
Bill Currie 2004-11-18 06:08:20 +00:00 committed by Jeff Teunissen
parent 9f0903e4ba
commit b71f12a616

View file

@ -395,10 +395,12 @@ emit_methods (methodlist_t *_methods, const char *name, int instance)
if (!_methods)
return 0;
for (count = 0, method = _methods->head; method; method = method->next)
if (!method->instance == !instance) {
if (!method->def && options.warnings.unimplemented) {
warning (0, "method %s not implemented", method->name);
warning (0, "Method `%c%s' not implemented",
method->instance ? '-' : '+', method->name);
}
count++;
}