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

Splitting debugger in two - specific debugger and common GUI

<< < (105/136) > >>

cbexaminr:
svn wxpropgrid_debugger branch R7550 fails to build:
        SqPlus::SQClassDef<wxArrayString>("wxArrayString").
                emptyCtor().
                func(&wxArrayString::Add, "Add").
                func(&wxArrayString::Clear, "Clear").
//                func(&wxArrayString::Index, "Index").
                staticFuncVarArgs(&wxArrayString_Index, "Index", "*").
                func(&wxArrayString::GetCount, "GetCount").
                func(&wxArrayString::Item, "Item");
C:\dev\codeblocks\svn_dbgbranch_on20111101\src\sdk\scripting\bindings\sc_wxtypes.cpp:251: error: no matching function for call to 'SqPlus::SQClassDef<wxArrayString>::func(<unresolved overloaded function type>, const char [5])'

Same problem exists in trunk R7550 retrieved shortly before debugger branch.

Additionally, debugger branch also seems to be missing parenthesis when build attempted with wx 2.9(.2)

sdk\cbplugin.cpp:640-644

--- Code: ---    #if wxCHECK_VERSION(2, 9, 0)
    Manager::Get()->GetLogManager()->DebugLog(F(_("Switching layout to \"%s\""), name.wx_str())); <<<==== I added final paren here
    #else
    Manager::Get()->GetLogManager()->DebugLog(F(_("Switching layout to \"%s\""), name.c_str()));
    #endif

--- End code ---

oBFusCATed:
Debugger branch is not ported to wx2.9, sorry.

oBFusCATed:
The missing brace is fixed in the branch, thanks.

Pecan:
svn build  rev 7587 (2011-11-12 18:16:49)   gcc 4.3.1 Windows/unicode - 32 bit

At compileroptionsdlg.cpp statement 2293

--- Code: ---    // compiler set buttons
    if (!m_pProject)
    {
        en = !data; // global options selected

--- End code ---

m_pProject is always 0x0. If I place the following before 2293

--- Code: ---    if (!m_pProject) asm("int3"); /*trap*/

--- End code ---

the trap never occurs whether there's a project loaded or not.

The old code used to read:

--- Code: ---    // compiler set buttons
    if (XRCCTRL(*this, "btnAddCompiler", wxButton)) // only if exist
    {
        en = !data; // global options selected

--- End code ---

Something is strange here...
http://dl.dropbox.com/u/46870262/ScreenShot00749.jpg

oBFusCATed:
Here is the exact commit: http://svn.berlios.de/wsvn/codeblocks/trunk/src/plugins/compilergcc/compileroptionsdlg.cpp?op=diff&rev=6084&peg=7590

It is in trunk and have nothing to do with the branch. I guess Morten could tell you more about it.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version