- wxString tmp;
- if (m_modify) tmp = "; fixing it...";
-
- LogWarning("%s: the method '%s' of classes '%s' has a different signature%s",
- header, tofind, searchedclasses, tmp);
+ // first, output a warning
+ wxString warning = header;
+ if (overloads.GetCount()>1)
+ warning += wxString::Format(": in the real headers there are %d overloads of '%s' for "
+ "'%s' all with different signatures:\n",
+ overloads.GetCount(), m.GetName(), searchedclasses);
+ else
+ warning += wxString::Format(": in the real headers there is a method '%s' for '%s'"
+ " but has different signature:\n",
+ m.GetName(), searchedclasses);
+
+ warning += "\tdoxy header: " + m.GetAsString();
+ for (unsigned int j=0; j<overloads.GetCount(); j++)
+ warning += "\n\treal header: " + overloads[j]->GetAsString();
+
+ wxPrint(warning + "\n");