I decided I needed to verify Code::Blocks builds using ANSI instead of Unicode wxWidgets 2.9.
Before any of my patches and compiling with wx 2.8 branch, I get about 30 warnings on printf type format strings.
Here's an example patch needed by Code::Blocks, to get rid of the warnings.
The rest are all debuggergdb plugin or contrib plugins.
Tim S
Index: src/sdk/compiler.cpp
===================================================================
--- src/sdk/compiler.cpp (revision 5208)
+++ src/sdk/compiler.cpp (working copy)
@@ -597,7 +597,7 @@
m_Commands[i].push_back(CompilerTool());
CompilerTool& tool = m_Commands[i][index];
- wxString key = wxString::Format(_T("%s/macros/%s/tool%d/"), tmp.c_str(), CommandTypeDescriptions[i].c_str(), index);
+ wxString key = wxString::Format(_T("%s/macros/%s/tool%lu/"), tmp.c_str(), CommandTypeDescriptions[i].c_str(), index);
tool.command = cfg->Read(key + _T("command"));
tool.extensions = cfg->ReadArrayString(key + _T("extensions"));
tool.generatedFiles = cfg->ReadArrayString(key + _T("generatedFiles"));
@@ -649,7 +649,7 @@
// read everything and either assign it to an existing regex
// if the index exists, or add a new regex
- group.Printf(_T("%s/regex/re%3.3d"), tmp.c_str(), index);
+ group.Printf(_T("%s/regex/re%3.3ld"), tmp.c_str(), index);
if (!cfg->Exists(group+_T("/description")))
continue;