Patch #3385 2012-12-03 06:22
alatar_
Avoid errors when using variable in compiler executable name- Download
- 3385-Avoid_errors_w.patch (544 bytes)
Index: src/plugins/compilergcc/compilergcc.cpp
===================================================================
--- src/plugins/compilergcc/compilergcc.cpp (revision 8644)
+++ src/plugins/compilergcc/compilergcc.cpp (working copy)
@@ -740,6 +740,7 @@
const bool caseSens = !(platform::windows);
wxString cApp = compiler->GetPrograms().C;
+ Manager::Get()->GetMacrosManager()->ReplaceMacros(cApp);
wxArrayString extraPaths = compiler->GetExtraPaths();
wxString extraPathsBinPath(wxEmptyString);