Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!
Index: src/plugins/compilergcc/compilergcc.cpp===================================================================--- src/plugins/compilergcc/compilergcc.cpp (revision 7810)+++ src/plugins/compilergcc/compilergcc.cpp (working copy)@@ -2366,9 +2366,19 @@ ProjectBuildTarget* tgt = prj->GetBuildTarget(tlist[x]); if (!CompilerValid(tgt)) {+ Compiler *compiler = CompilerFactory::GetCompiler(GetCurrentCompilerID(tgt));+ wxString compilerName, compilerName2(wxT("unknown"));+ if (compiler)+ {+ compilerName = wxT("(") + compiler->GetName() + wxT(") ");+ compilerName2 = compiler->GetName();+ } wxString msg;- msg.Printf(_T("\"%s - %s\": The compiler's setup is invalid so Code::Blocks cannot find/run the compiler. Probably the toolchain path within the compiler options is not setup correctly?! Skipping..."),- prj->GetTitle().wx_str(), tlist[x].wx_str());+ msg.Printf(_T("\"%s - %s\": The compiler's setup %sis invalid, so Code::Blocks cannot find/run the compiler.\n")+ _T("Probably the toolchain path within the compiler options is not setup correctly?!\n")+ _T("Goto Settings->Compiler and debugger...->Global compiler settings->%s->Toolchain executables\n")+ _T("Skipping..."),+ prj->GetTitle().wx_str(), tlist[x].wx_str(), compilerName.wx_str(), compilerName2.wx_str()); Manager::Get()->GetLogManager()->LogWarning(msg, m_PageIndex); continue; }
@devs: any comments for my patch?
My opinion: commit it.