Author Topic: Splitting debugger in two - specific debugger and common GUI  (Read 429100 times)

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7582
    • My Best Post
Re: Splitting debugger in two - specific debugger and common GUI
« Reply #120 on: October 22, 2009, 04:46:19 pm »
Patch needed on branch wxpropgrid_debugger under windows without Precompiled Headers enabled.

Tim S.

SDK folder only patch
Code
Index: src/sdk/examinememorydlg.cpp
===================================================================
--- src/sdk/examinememorydlg.cpp (revision 5882)
+++ src/sdk/examinememorydlg.cpp (working copy)
@@ -7,7 +7,11 @@
  * $HeadURL$
  */
 
-#include <sdk.h>
+#include "sdk_precomp.h"
+#ifndef CB_PRECOMP
+    #include "cbplugin.h"
+#endif
+
 #include "examinememorydlg.h"
 #include <wx/intl.h>
 #include <wx/xrc/xmlres.h>
Index: src/sdk/debuggermanager.cpp
===================================================================
--- src/sdk/debuggermanager.cpp (revision 5882)
+++ src/sdk/debuggermanager.cpp (working copy)
@@ -8,7 +8,26 @@
  */
 
 #include "sdk_precomp.h"
+#ifndef CB_PRECOMP
+    #include <wx/artprov.h>
+    #include <wx/bmpbuttn.h>
+    #include <wx/combobox.h>
+    #include <wx/filedlg.h>
+    #include <wx/frame.h>
+    #include <wx/menu.h>
+    #include <wx/sizer.h>
+    #include <wx/stattext.h>
 
+    #include "cbeditor.h"
+    #include "cbexception.h"
+    #include "cbplugin.h"
+    #include "cbproject.h"
+    #include "configmanager.h"
+    #include "editormanager.h"
+    #include "logmanager.h"
+    #include "projectmanager.h"
+#endif
+
 #include <algorithm>
 #include <wx/toolbar.h>
 
Index: src/sdk/cbplugin.cpp
===================================================================
--- src/sdk/cbplugin.cpp (revision 5882)
+++ src/sdk/cbplugin.cpp (working copy)
@@ -19,6 +19,9 @@
     #include "projectbuildtarget.h"
     #include "cbproject.h"
     #include "logmanager.h"
+    #include "editormanager.h"
+    #include "cbeditor.h"
+    #include "projectmanager.h"
 #endif
 
 #include <wx/toolbar.h>
Index: src/sdk/backtracedlg.cpp
===================================================================
--- src/sdk/backtracedlg.cpp (revision 5882)
+++ src/sdk/backtracedlg.cpp (working copy)
@@ -7,13 +7,23 @@
  * $HeadURL$
  */
 #include "sdk_precomp.h"
+#ifndef CB_PRECOMP
+    #include <wx/filedlg.h>
+    #include <wx/listctrl.h>
+    #include <wx/menu.h>
+    #include <wx/sizer.h>
+    #include <wx/txtstrm.h>
+    #include <wx/wfstream.h>
 
-#include "backtracedlg.h"
+    #include "cbplugin.h"
+    #include "configmanager.h"
+#endif
 
 #include <wx/clipbrd.h>
-#include <wx/listctrl.h>
 #include "filefilters.h"
 
+#include "backtracedlg.h"
+
 namespace
 {
     const int idList = wxNewId();
Index: src/sdk/editbreakpointdlg.cpp
===================================================================
--- src/sdk/editbreakpointdlg.cpp (revision 5882)
+++ src/sdk/editbreakpointdlg.cpp (working copy)
@@ -8,7 +8,12 @@
  */
 
 #include "sdk_precomp.h"
+#ifndef CB_PRECOMP
+    #include <wx/xrc/xmlres.h>
 
+    #include "debuggermanager.h"
+#endif
+
 #include "editbreakpointdlg.h"
 #include <wx/intl.h>
 #include <wx/xrc/xmlres.h>
Index: src/sdk/breakpointsdlg.cpp
===================================================================
--- src/sdk/breakpointsdlg.cpp (revision 5882)
+++ src/sdk/breakpointsdlg.cpp (working copy)
@@ -7,15 +7,18 @@
  * $HeadURL$
  */
 
+#include <set>
+
 #include "sdk_precomp.h"
 
-#include "breakpointsdlg.h"
-
 #ifndef CB_PRECOMP
 #   include "globals.h"
 #   include "manager.h"
 #   include "editormanager.h"
 #   include "cbeditor.h"
+#   include "cbplugin.h"
+#   include "debuggermanager.h"
+
 #   include <wx/button.h>
 #   include <wx/checkbox.h>
 #   include <wx/intl.h>
@@ -24,10 +27,13 @@
 #   include <wx/menu.h>
 #   include <wx/textctrl.h>
 #   include <wx/spinctrl.h>
+#   include <wx/sizer.h>
 #endif
 
 #include "editbreakpointdlg.h"
 
+#include "breakpointsdlg.h"
+
 namespace
 {
  const int idList = wxNewId();
Index: src/sdk/debuggermenu.cpp
===================================================================
--- src/sdk/debuggermenu.cpp (revision 5882)
+++ src/sdk/debuggermenu.cpp (working copy)
@@ -7,7 +7,15 @@
  * $HeadURL$
  */
 #include "sdk_precomp.h"
+#ifndef CB_PRECOMP
+    #include <wx/xrc/xmlres.h>
 
+    #include "cbeditor.h"
+    #include "cbproject.h"
+    #include "editormanager.h"
+    #include "projectmanager.h"
+#endif
+
 #include "debuggermenu.h"
 
 #include <algorithm>
Index: src/sdk/threadsdlg.cpp
===================================================================
--- src/sdk/threadsdlg.cpp (revision 5882)
+++ src/sdk/threadsdlg.cpp (working copy)
@@ -7,16 +7,17 @@
  * $HeadURL$
  */
 
-#include "threadsdlg.h"
+#include "sdk_precomp.h"
+#ifndef CB_PRECOMP
+    #include <wx/listctrl.h>
+    #include <wx/menu.h>
+    #include <wx/sizer.h>
 
-#include "sdk.h"
+    #include "cbplugin.h"
+#endif
 
-#include <wx/listctrl.h>
-#include <wx/menu.h>
-#include <wx/sizer.h>
+#include "threadsdlg.h"
 
-
-
 namespace
 {
     const int idList = wxNewId();
Index: src/sdk/watchesdlg.cpp
===================================================================
--- src/sdk/watchesdlg.cpp (revision 5882)
+++ src/sdk/watchesdlg.cpp (working copy)
@@ -7,11 +7,20 @@
  * $HeadURL$
  */
 
-#include <sdk.h>
-#include "watchesdlg.h"
+#include "sdk_precomp.h"
+#ifndef CB_PRECOMP
+    #include <wx/menu.h>
+    #include <wx/sizer.h>
 
+    #include "cbplugin.h"
+    #include "logmanager.h"
+    #include "scrollingdialog.h"
+#endif
+
 #include <wx/propgrid/propgrid.h>
 
+#include "watchesdlg.h"
+
 namespace
 {
     const int idGrid = wxNewId();
Index: src/include/debuggermenu.h
===================================================================
--- src/include/debuggermenu.h (revision 5882)
+++ src/include/debuggermenu.h (working copy)
@@ -6,7 +6,10 @@
 #ifndef X_DEBUGGER_MENU_H
 #define X_DEBUGGER_MENU_H
 
+#include <wx/event.h>
+
 class cbDebuggerPlugin;
+class wxToolBar;
 
 class DebuggerMenuHandler : public wxEvtHandler
 {
Index: src/include/breakpointsdlg.h
===================================================================
--- src/include/breakpointsdlg.h (revision 5882)
+++ src/include/breakpointsdlg.h (working copy)
@@ -6,8 +6,13 @@
 #ifndef BREAKPOINTSDLG_H
 #define BREAKPOINTSDLG_H
 
+#include <vector>
+
 #include <wx/panel.h>
 
+class cbBreakpoint;
+class CodeBlocksEvent;
+class cbDebuggerPlugin;
 class wxCommandEvent;
 class wxListCtrl;
 class wxListEvent;
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7582
    • My Best Post
Re: Splitting debugger in two - specific debugger and common GUI
« Reply #121 on: October 23, 2009, 05:50:45 pm »
Patch for src and debug plugin headers needed for NON precompiled under Windows XP.

Note: I redid the headers alot in debuggergdb.cpp in order to precompilied header sdk.h better.

Tim S.

Code
Index: src/plugins/debuggergdb/debuggergdb.cpp
===================================================================
--- src/plugins/debuggergdb/debuggergdb.cpp (revision 5883)
+++ src/plugins/debuggergdb/debuggergdb.cpp (working copy)
@@ -7,57 +7,59 @@
  * $HeadURL$
  */
 
+
 #include <sdk.h>
-#include <wx/txtstrm.h>
-#include <wx/regex.h>
-#include "scrollingdialog.h"
-#include <wx/msgdlg.h>
-#include <wx/tokenzr.h>
+#include <algorithm>  // std::remove_if
+#ifndef CB_PRECOMP
+    #include <wx/frame.h> // GetMenuBar
+    #include <wx/msgdlg.h>
+    #include <wx/regex.h>
+    #include <wx/txtstrm.h>
 
-#include <manager.h>
-#include <configmanager.h>
-#include <logmanager.h>
-#include <projectmanager.h>
-#include <pluginmanager.h>
-#include <editormanager.h>
-#include <macrosmanager.h>
-#include <cbeditor.h>
-#include <projectbuildtarget.h>
-#include <sdk_events.h>
-#include <editarraystringdlg.h>
-#include <compilerfactory.h>
-#include <projectloader_hooks.h>
-#include <xtra_res.h>
+    #include <cbeditor.h>
+    #include <cbproject.h>
+    #include <compilerfactory.h>
+    #include <configmanager.h>
+    #include <editormanager.h>
+    #include <globals.h>
+    #include <logmanager.h>
+    #include <macrosmanager.h>
+    #include <manager.h>
+    #include <pluginmanager.h>
+    #include <projectbuildtarget.h>
+    #include <projectmanager.h>
+    #include <scrollingdialog.h>
+    #include <sdk_events.h>
+    #include <xtra_res.h>
+#endif
 
+#ifdef __WXMSW__
+    #include <winbase.h>
+#else
+    int GetShortPathName(const void*, void*, int){/* bogus */ return 0; };
+#endif
+
 #include <annoyingdialog.h>
 #include <backtracedlg.h>
 #include <breakpointsdlg.h>
+#include <cbstyledtextctrl.h>
 #include <disassemblydlg.h>
+#include <editarraystringdlg.h>
 #include <editbreakpointdlg.h>
 #include <examinememorydlg.h>
+#include <projectloader_hooks.h>
 #include <threadsdlg.h>
 #include <watchesdlg.h>
 
-#include "cbstyledtextctrl.h"
 #include "databreakpointdlg.h"
 #include "debuggerdriver.h"
-#include "debuggergdb.h"
 #include "debuggeroptionsdlg.h"
 #include "debuggeroptionsprjdlg.h"
 #include "editwatchesdlg.h"
 #include "editwatchdlg.h"
-#include "globals.h"
 
-#ifdef __WXMSW__
-    #include <winbase.h>
-#else
-    int GetShortPathName(const void*, void*, int){/* bogus */ return 0; };
-#endif
+#include "debuggergdb.h"
 
-#ifndef CB_PRECOMP
-    #include <wx/frame.h> // GetMenuBar
-    #include "cbproject.h"
-#endif
 
 #if defined(__APPLE__) && defined(__MACH__)
     #define LIBRARY_ENVVAR _T("DYLD_LIBRARY_PATH")
Index: src/plugins/debuggergdb/gdb_commands.h
===================================================================
--- src/plugins/debuggergdb/gdb_commands.h (revision 5883)
+++ src/plugins/debuggergdb/gdb_commands.h (working copy)
@@ -25,6 +25,7 @@
 #include <scriptingmanager.h>
 #include <sqplus.h>
 #include <infowindow.h>
+#include "logmanager.h"
 
 // FIXME (obfuscated#): remove this include
 #include "debuggertree.h"
Index: src/plugins/debuggergdb/debugger_defs.h
===================================================================
--- src/plugins/debuggergdb/debugger_defs.h (revision 5883)
+++ src/plugins/debuggergdb/debugger_defs.h (working copy)
@@ -11,6 +11,8 @@
 #include <vector>
 #include <tr1/memory>
 
+#include "debuggermanager.h"
+
 class DebuggerDriver;
 class DebuggerTree;
 
Index: src/src/main.h
===================================================================
--- src/src/main.h (revision 5883)
+++ src/src/main.h (working copy)
@@ -19,6 +19,7 @@
 #include "cbplugin.h"
 #include "sdk_events.h"
 #include "scripting/bindings/sc_base_types.h"
+#include "scrollingdialog.h"
 
 WX_DECLARE_HASH_MAP(int, wxString, wxIntegerHash, wxIntegerEqual, PluginIDsMap);
 WX_DECLARE_HASH_MAP(cbPlugin*, wxToolBar*, wxPointerHash, wxPointerEqual, PluginToolbarsMap);
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Splitting debugger in two - specific debugger and common GUI
« Reply #122 on: October 28, 2009, 09:19:12 pm »
I want to split the break-stop button in two different buttons - break and stop.
It is very annoying that when the user wants to stop the debugging he/she have to click the button twice.
This is not a problem. The real problem is that on the first click the cursor is move at the location the program was at the click.
This location can be totally different than the location the user is looking at.
For example while debugging codeblocks 99% of the time on the first click the app.cpp file is opened and I have to close it, which is very annoying.

Anyone against that change? I can make it configurable, of course?
And what icon should I use? Can I find the full icon set the CB is using?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5910
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: Splitting debugger in two - specific debugger and common GUI
« Reply #123 on: October 29, 2009, 01:57:13 am »
For example while debugging codeblocks 99% of the time on the first click the app.cpp file is opened and I have to close it, which is very annoying.
Yes, it is annoying. But I have the difference experience, not the app.cpp opened. A file named "new_allocator" (as far I can remember, now, I have no C::B at hand) always opened. At this case, I still don't know where exactly my program halt. :(
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2750
Re: Splitting debugger in two - specific debugger and common GUI
« Reply #124 on: October 29, 2009, 03:29:55 pm »
For example while debugging codeblocks 99% of the time on the first click the app.cpp file is opened and I have to close it, which is very annoying.
Yes, it is annoying. But I have the difference experience, not the app.cpp opened. A file named "new_allocator" (as far I can remember, now, I have no C::B at hand) always opened. At this case, I still don't know where exactly my program halt. :(

Untick "Catch C++ exceptions" in debugger settings to avoid this problem.

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5910
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: Splitting debugger in two - specific debugger and common GUI
« Reply #125 on: October 29, 2009, 04:00:14 pm »
For example while debugging codeblocks 99% of the time on the first click the app.cpp file is opened and I have to close it, which is very annoying.
Yes, it is annoying. But I have the difference experience, not the app.cpp opened. A file named "new_allocator" (as far I can remember, now, I have no C::B at hand) always opened. At this case, I still don't know where exactly my program halt. :(

Untick "Catch C++ exceptions" in debugger settings to avoid this problem.


Thanks Pecan for your help, I will try it tomorrow in my lab's computer. :D
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline sbezgodov

  • Multiple posting newcomer
  • *
  • Posts: 15
Re: Splitting debugger in two - specific debugger and common GUI
« Reply #126 on: November 05, 2009, 07:13:10 pm »
Is it possible to use wxTreeListCtrl for watches window? I think its more suitable than wxPropertyGrid.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Splitting debugger in two - specific debugger and common GUI
« Reply #127 on: November 05, 2009, 11:34:05 pm »
Is it possible to use wxTreeListCtrl for watches window? I think its more suitable than wxPropertyGrid.
Why?
Patches are welcome, of course :)

p.s. I've tried to compile it, but it failed out of the box (linux 64bit), after some modification I've succeeded, but the sample crashed, when I've tried to start it!
Have you used it in a real multi platform project (different versions of windows doesn't count  :lol:)?

p.p.s. I've tried this  http://wxcode.sourceforge.net/components/treelistctrl/ "treelistctrl_2009-07-19.tar.gz   maintenance release"
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Splitting debugger in two - specific debugger and common GUI
« Reply #128 on: December 07, 2009, 07:52:00 pm »
The autotools build system seems broken in the debugger branch.
Can someone confirm this?

Here is the build log
Code
obfuscated@xlad ~/projects/codeblocks/brances/debugger_clean $ ./bootstrap 
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: You should add the contents of the following files to `aclocal.m4':
libtoolize:   `/usr/share/aclocal/libtool.m4'
libtoolize:   `/usr/share/aclocal/ltoptions.m4'
libtoolize:   `/usr/share/aclocal/ltversion.m4'
libtoolize:   `/usr/share/aclocal/ltsugar.m4'
libtoolize:   `/usr/share/aclocal/lt~obsolete.m4'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
configure.in: installing `./install-sh'
configure.in: installing `./missing'
src/base/tinyxml/Makefile.am: installing `./depcomp'
src/plugins/contrib/Makefile.am:101: BUILD_CCCC does not appear in AM_CONDITIONAL
src/plugins/contrib/Makefile.am:105: BUILD_CPPCHECK does not appear in AM_CONDITIONAL
configure.in:7: installing `./config.guess'
configure.in:7: installing `./config.sub'


And after the ./bootstrap there is no configure script :(

System gentoo amd64 + gcc 4.4.2/glibc 2.9
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Splitting debugger in two - specific debugger and common GUI
« Reply #129 on: December 07, 2009, 08:45:49 pm »
The autotools build system seems broken in the debugger branch.
Can someone confirm this?

Should be fixed in svn r5957.
Can you please test it ?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Splitting debugger in two - specific debugger and common GUI
« Reply #130 on: December 07, 2009, 08:54:16 pm »
It is fixed.
But your patch for the notebook problems breaks the BrowseTracker plugin

Code
/wxscintilla/include -Ulinux -Uunix -g -DDEBUG -DCB_AUTOCONF -march=core2 -O2 -fweb -frename-registers -pipe -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -c Version.cpp  -fPIC -DPIC -o .libs/Version.o
BrowseTracker.cpp: In member function ‘bool BrowseTracker::IsEditorBaseOpen(EditorBase*)’:
BrowseTracker.cpp:2777: error: cannot convert ‘cbAuiNotebook*’ to ‘wxAuiNotebook*’ in initialization
make[4]: *** [BrowseTracker.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/var/tmp/portage/dev-util/codeblocks-9999-r20/work/codeblocks-9999/src/plugins/contrib/BrowseTracker'
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Splitting debugger in two - specific debugger and common GUI
« Reply #131 on: December 07, 2009, 09:03:36 pm »
It is fixed.
But your patch for the notebook problems breaks the BrowseTracker plugin

Code
/wxscintilla/include -Ulinux -Uunix -g -DDEBUG -DCB_AUTOCONF -march=core2 -O2 -fweb -frename-registers -pipe -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -c Version.cpp  -fPIC -DPIC -o .libs/Version.o
BrowseTracker.cpp: In member function ‘bool BrowseTracker::IsEditorBaseOpen(EditorBase*)’:
BrowseTracker.cpp:2777: error: cannot convert ‘cbAuiNotebook*’ to ‘wxAuiNotebook*’ in initialization
make[4]: *** [BrowseTracker.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/var/tmp/portage/dev-util/codeblocks-9999-r20/work/codeblocks-9999/src/plugins/contrib/BrowseTracker'

Yes and no, the patch needs to be updated, because BrowseTracker has changes.

As fix, you can change wxAuiNotebook in line 2777 to cbAuiNotebook and the include in line 94 to "cbauibook.h".
No time to create a new patch at the moment, maybe later this evening or tomorrow.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Splitting debugger in two - specific debugger and common GUI
« Reply #132 on: December 08, 2009, 01:29:51 am »
Patch for cppcheck in the debugger branch

Code
Index: src/plugins/contrib/CppCheck/CppCheck-unix.cbp
===================================================================
--- src/plugins/contrib/CppCheck/CppCheck-unix.cbp      (revision 5956)
+++ src/plugins/contrib/CppCheck/CppCheck-unix.cbp      (working copy)
@@ -32,7 +32,7 @@
                        <Add option="-DCB_PRECOMP" />
                        <Add option="-DcbDEBUG" />
                        <Add directory="../../../include" />
-                       <Add directory="../../../include/wxscintilla/include" />
+                       <Add directory="../../../sdk/wxscintilla/include" />
                </Compiler>
                <Linker>
                        <Add option="`wx-config --libs`" />


The same fix seems to be needed in the autotools system.
Also does ./configure --with-contrib-plugins="all,-CppCheck" should work (build all plugins except the CppCheck)?
My test doesn't seem to work :(
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Splitting debugger in two - specific debugger and common GUI
« Reply #133 on: December 08, 2009, 06:48:12 am »
I saw yesterday night.
I will fix this today.
It happens because (wx)scintilla was moved to another folder.
Might be the same in the scintilla-branch.
I will test (and fix if needed) this also.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Splitting debugger in two - specific debugger and common GUI
« Reply #134 on: December 08, 2009, 06:55:04 am »
The same fix seems to be needed in the autotools system.
Also does ./configure --with-contrib-plugins="all,-CppCheck" should work (build all plugins except the CppCheck)?
My test doesn't seem to work :(
That is correct. I've just not checked out the files that need to be modified. ;-)
All you'll need to do is to compare the files "acinclude.m4" and "configure.in" with the one from the branch. and "copy" the missing changes. I'll do it later when I've time. ("codeblocks.spec.in" is another file you
ll need to take care of if you want to create a dist package.)
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ