User forums > Nightly builds

The 16 March 2007 build is out.

<< < (2/3) > >>

Xaviou:
Ubuntu 6.10 Amd64 .deb installer can be found here.

nenin:

--- Quote from: wxLearner on March 16, 2007, 10:13:29 pm ---Right clicking the workspace makes Code::Blocks crash.
<***>
Thank you for this great IDE :D

--- End quote ---
Confirmed on Win2K SP4- c::b hung for few seconds and than crush.

wxLearner:
Making console runner run again:

change the console runner name:

--- Quote from: plugins/compilergcc/compilergcc.cpp ---
--- Code: (line 100) ---static const wxString strCONSOLE_RUNNER(platform::windows ? _T("cb_strCONSOLE_RUNNER.exe") : _T("cb_strCONSOLE_RUNNER"));
--- End code ---

--- End quote ---
to
--- Code: ---static const wxString strCONSOLE_RUNNER(platform::windows ? _T("cb_console_runner.exe") : _T("cb_console_runner"));
--- End code ---

change the if statement:

--- Quote from: plugins/compilergcc/compilergcc.cpp ---
--- Code: (line 1670) ---if(platform::windows)
{
    // for non-win platforms, use m_ConsoleTerm to run the console app
    wxString term = Manager::Get()->GetConfigManager(_T("app"))->Read(_T("/console_terminal"), DEFAULT_CONSOLE_TERM);
    term.Replace(_T("$TITLE"), _T("'") + m_Project->GetTitle() + _T("'"));
    cmd << term << _T(" 'LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH ");
}
--- End code ---

--- End quote ---
to
--- Code: ---if(!platform::windows)
{
    // for non-win platforms, use m_ConsoleTerm to run the console app
    wxString term = Manager::Get()->GetConfigManager(_T("app"))->Read(_T("/console_terminal"), DEFAULT_CONSOLE_TERM);
    term.Replace(_T("$TITLE"), _T("'") + m_Project->GetTitle() + _T("'"));
    cmd << term << _T(" 'LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH ");
}
--- End code ---

RJP Computing:

--- Quote from: nenin on March 16, 2007, 10:39:43 pm ---"xterm" bug  under win still alive in cvn3714:
Execution of 'xterm -T 'gdb_bugs01' -e 'LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH "C:\MinGW\projects\gdb_bugs01\gdb_bugs01.exe" ' in 'C:\MinGW\projects\gdb_bugs01' failed.

--- End quote ---
I can confirm this bug as well on Windows XP.

Biplab:

--- Quote from: wxLearner on March 16, 2007, 10:13:29 pm ---Right clicking the workspace makes Code::Blocks crash.


--- Quote from: sdk/projectmanager.cpp ---
--- Code: (line 486) ---if (Projects && (ftd->GetKind() == FileTreeData::ftdkProject)) // Make sure we're looking for projects
--- End code ---

--- End quote ---
should be changed to

--- Code: ---if (Projects && ftd && (ftd->GetKind() == FileTreeData::ftdkProject)) // Make sure we're looking for projects
--- End code ---

--- End quote ---

It may crash if the workspace is empty. :)

Thanks for pointing it out. I've applied the fix.  :)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version