User forums > Nightly builds

The 27 February 2010 build (6181) is out.

<< < (12/23) > >>

skirby:
Hello,

I have found strange bugs when installing Code::Blocks in virtual machine (Windows XP and Virtual Box v3.1.4)
The way to reproduce it is very easy.
Simply install Code:Blocks from the beginning.
- First, install codeblocks-8.02mingw-setup.exe (with standard or full install)
- Now, apply the last Nightly Build with : CB_20100227_rev6181_win32.7z, mingwm10_gcc441.7z and wxmsw28u_gcc_cb_wx2810_gcc441.7z
- Launch Code::Blocks => you get an error message (see screenshot)



The problem does not exists if I launch Code::Blocks directly after having installed codeblocks-8.02mingw-setup.exe (without nightly build)

The problem comes from the file startup.script which is corrupted. Just after the following line :
GetScriptingManager().RegisterScriptMenu(_("&Settings") + _T("/-") + _("Edit startup script"), _T("edit_startup_script.script"), false);
In line 18, you will find this:
alse);

And more, Code::Blocks crash when clicking in menu "Settings" and "Compiler and debugger"
(See codeblocks.RPT in attachment for more information)

These "bugs" do not exist when installing Code::Blocks normally (not in virtual machine)

Can you confirm this behavior?

Thanks and have a nice day.

[attachment deleted by admin]

stefanos_:
You should not mix nightly builds with stable editions. Please read the link below:

http://forums.codeblocks.org/index.php/topic,3232.0.html

Regards,

stefanos_

franzl:
When I create a new project with the current nightly on Linux with the Intel C++ Compiler the default compiler settings are not correct. Codeblocks uses the windows compiler settings, but they differ from those which are needed under Linux.

http://software.intel.com/sites/products/documentation/hpc/compilerpro/en-us/cpp/lin/compiler_c/index.htm

Creating a C/C++ project the defaults are:
- general: /EHs (enable synchronous C++ exception handling model)
- Debug: /Zi (generate full debugging information in the object file)
- Release: /O2 (enable optimizations for speed)

Correct ones would be:
- general: (not existing under Linux)
- Debug: -g
- Release: -O2

kind regards
Franzl

Jan van den Borst:
Hi All,
I'm using an custom compiler Keil Arm.

I constantly experiencing crashes in the projectfileoptionsdlg when unchecking the link and compile checkbox.
I traced down the error to line 402 of the projectfileoptionsdlg.cpp file. Checking the compiler fixes the error but probably is not what you want:

void ProjectFileOptionsDlg::SaveBuildCommandSelection()
{
    Compiler* compiler = CompilerFactory::GetCompiler(m_LastBuildStageCompilerSel);
    if(compiler)
    {
      m_ProjectFile->customBuild[compiler->GetID()].useCustomBuildCommand = XRCCTRL(*this, "chkBuildStage", wxCheckBox)->GetValue();
      m_ProjectFile->customBuild[compiler->GetID()].buildCommand          = XRCCTRL(*this, "txtBuildStage", wxTextCtrl)->GetValue();
    }
}

Regards
Jan

critic:
Can you add to C::B:

* adding of `;` while braces completion for classes, structures
--- Code: ---class Name
{

};// here

--- End code ---

* move words `private`, `protected`, `public` to the position as configured in source formatter
--- Code: ---In source formatter settings there is option `Indent classes (keywords public:, protected: and private:)`

--- End code ---

As I see source formatter doesn't work for me (other options don't work too) and I don't know why (plugin is enabled and configured).
Have you any comments about this?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version