Developer forums (C::B DEVELOPMENT STRICTLY!) > Compiler Framework Redesign
XML based compilers
Alpha:
Just wondering, are there any updates on the current status of this branch?
killerbot:
I am gonna do some tests of your latest updates this Sunday, was completely unable to get to it any sooner :-(
Alpha:
I presume you meant this coming Sunday ;) ...
Alpha:
Here is a quick patch to prevent compilers from incorrectly being marked as "User-defined" in the auto detection dialog.
--- Code: ---Index: src/sdk/autodetectcompilers.cpp
===================================================================
--- src/sdk/autodetectcompilers.cpp (revision 8407)
+++ src/sdk/autodetectcompilers.cpp (working copy)
@@ -96,7 +96,7 @@
else if ( !path.IsEmpty() )
{
// Check, if the master path is valid:
- if ( wxFileName::DirExists(path_no_macros) )
+ if ( wxFileName::DirExists(path_no_macros) && !(path == pathDetected || path_no_macros == pathDetected) )
{
list->SetItem(idx, 1, _("User-defined")); // OK
highlight = 0;
--- End code ---
killerbot:
hmmmm, darn, this weekend for sure, or I owe you some nice belgian beers ;-)
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version