@@ -37,11 +37,11 @@ if (!(cls->info & OBJC_CLASS_INFO_SETUP)) { if (is_class) return objc_msg_lookup(nil, sel); else - ERROR("Could not dispatch message for " + OBJC_ERROR("Could not dispatch message for " "incomplete class %s!", cls->name); } /* * We don't need to handle the case that super was called. @@ -53,11 +53,11 @@ } if (objc_forward_handler != NULL) return objc_forward_handler(obj, sel); - ERROR("Selector %s is not implemented for class %s!", + OBJC_ERROR("Selector %s is not implemented for class %s!", sel_getName(sel), object_getClassName(obj)); } BOOL class_respondsToSelector(Class cls, SEL sel)