Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Splitting debugger in two - specific debugger and common GUI

<< < (27/136) > >>

oBFusCATed:
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'

--- End code ---

Jenna:

--- Quote from: oBFusCATed 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'

--- End code ---

--- End quote ---

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.

oBFusCATed:
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`" />


--- End code ---

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 :(

Jenna:
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.

MortenMacFly:

--- Quote from: oBFusCATed on December 08, 2009, 01:29:51 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 :(

--- End quote ---
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.)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version