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)
Category
Plugin::Bugfix
Status
Accepted
Close date
2012-12-13 14:39
Assigned to
mortenmacfly
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);