diff --git a/utils/ifacecheck/src/ifacecheck.cpp b/utils/ifacecheck/src/ifacecheck.cpp index b7b8474e41..b96f5ed60c 100644 --- a/utils/ifacecheck/src/ifacecheck.cpp +++ b/utils/ifacecheck/src/ifacecheck.cpp @@ -165,8 +165,11 @@ bool IfaceCheckApp::Compare() } else { + // shorten the name of the header so the log file is more readable + wxString header = interface[i].GetHeader().AfterLast('/'); + LogMessage("%s: couldn't find the real interface for the '%s' class", - interface[i].GetHeader(), cname); + header, cname); ccount++; } } @@ -244,6 +247,7 @@ int IfaceCheckApp::CompareClasses(const wxClass* iface, const wxClassPtrArray& a LogWarning("%s: the method '%s' of classes '%s' has a different signature%s", header, tofind, searchedclasses, tmp); + count++; // try to modify it! if (m_modify) diff --git a/utils/ifacecheck/src/xmlparser.h b/utils/ifacecheck/src/xmlparser.h index 989aafbfaf..68f183fd3b 100644 --- a/utils/ifacecheck/src/xmlparser.h +++ b/utils/ifacecheck/src/xmlparser.h @@ -18,7 +18,7 @@ // helper macros #define LogMessage(fmt, ...) { wxPrintf(fmt "\n", __VA_ARGS__); fflush(stdout); } -#define LogWarning(fmt, ...) { wxPrintf("WARNING: " fmt "\n", __VA_ARGS__); fflush(stdout); } +#define LogWarning(fmt, ...) { wxPrintf(fmt "\n", __VA_ARGS__); fflush(stdout); } #define LogError(fmt, ...) { wxPrintf("ERROR: " fmt "\n", __VA_ARGS__); fflush(stdout); } #define wxPrint(str) { wxPrintf(str); fflush(stdout); }