wxPrintf("\n");
Flush();
}
+
+ wxSUPPRESS_DOLOG_HIDE_WARNING()
};
class IfaceCheckApp : public wxAppConsole
// in any case set basic std preprocessor #defines:
m_doxyInterface.AddPreprocessorValue("NULL", "0");
- //g_bLogEnabled = false;
-
// parse the two XML files which contain the real and the doxygen interfaces
// for wxWidgets API:
if (!m_gccInterface.Parse(parser.GetParam(0)) ||
!m_doxyInterface.Parse(parser.GetParam(1)))
return 1;
-// g_bLogEnabled = true;
-
if (parser.Found(DUMP_SWITCH))
{
wxLogMessage("Dumping real API to '%s'...", API_DUMP_FILE);
for (unsigned int j=0; j<overloads.GetCount(); j++)
warning += "\n\treal header: " + overloads[j]->GetAsString(true, true, true, true);
- wxLogWarning(warning);
+ wxLogWarning("%s", warning);
count++;
if (overloads.GetCount()>1)