Code::Blocks Forums

User forums => Nightly builds => Topic started by: killerbot on April 18, 2006, 08:46:00 pm

Title: The 18 april 2006 build is out.
Post by: killerbot on April 18, 2006, 08:46:00 pm
Get quick announcements through the RSS feed http://www.codeblocks.org/nightly/CodeBlock_RSS.xml
A link to the unicode windows wxWidget dll for Code::Blocks : http://download.berlios.de/codeblocks/wxmsw26u_gcc_cb.7z
For those who might need this one (when no MingW installed on your system) : the mingw10m.dll : http://download.berlios.de/codeblocks/mingwm10.7z

For support of ansi builds, a link to the ansi windows wxWidget dll for Code::Blocks : http://download.berlios.de/codeblocks/wxmsw26_gcc_cb.7z

The 18 April 2006 build is out.
  - Windows : http://download.berlios.de/codeblocks/CB_20060418_rev2360_win32.7z
  - Linux :
         http://download.berlios.de/codeblocks/CB_20060418_rev2360_ubuntu.deb
         http://download.berlios.de/codeblocks/CB_20060418_rev2360_fc4+5.rpm

Resolved Fixed:


Regressions/Confirmed/Annoying/Common bugs:


Title: Re: The 18 april 2006 build is out.
Post by: killerbot on April 18, 2006, 08:46:50 pm
and here's the ansi build :
http://download.berlios.de/codeblocks/CB_20060418_rev2360_win32_ansi.7z
Title: Re: The 18 april 2006 build is out.
Post by: Zingam on April 18, 2006, 10:21:01 pm
Quote
Fixed script errors in the new "D application" wizard


-------------- Build: Debug in jhhhh ---------------
Compiling: hello.d
Error: unrecognized switch '-Wall'
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings


Any ideas where this switch -Wall is from?
 
Title: Re: The 18 april 2006 build is out.
Post by: MedO on April 19, 2006, 10:50:40 am
-Wall stands for "enable all warnings" with gcc. It seems your d compiler doesn't understand the switch, so try to untick the corresponding checkbox in the compiler settings. Don't know if this is a C:B problem.
Title: Re: The 18 april 2006 build is out.
Post by: killerbot on April 19, 2006, 01:49:03 pm
Quote
Fixed script errors in the new "D application" wizard


-------------- Build: Debug in jhhhh ---------------
Compiling: hello.d
Error: unrecognized switch '-Wall'
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings


Any ideas where this switch -Wall is from?
 
What did you use : Digital Mars D or the GCC D ?
Title: Re: The 18 april 2006 build is out.
Post by: skirby on April 19, 2006, 02:48:36 pm
Hello,

Here is a simple example which show you a bug with the debugger (with that build and probably previous one)

You can find the project here:
http://www.badongo.com/file/498569

Debug the program.
You should have a screen like that
(http://img19.imageshack.us/img19/3324/debuggerproblem18af.th.jpg) (http://img19.imageshack.us/my.php?image=debuggerproblem18af.jpg)

Now if you trace the following instruction:  strcpy(sStr, "azéerty");

All buttons of the debugger toolbar become disabled.
(http://img150.imageshack.us/img150/2498/debuggerproblem20ix.th.jpg) (http://img150.imageshack.us/my.php?image=debuggerproblem20ix.jpg)

I really hope you could fix that problem.

Thanks and have a nice day
Title: Re: The 18 april 2006 build is out.
Post by: Szabadember on April 19, 2006, 05:32:15 pm
The same bug here!!!
If you watch strings with non-english characters (áéűőúüöó for example), all buttons in the debug menu become disabled.

I've encountered another bug: if you clear all breakpoints with the command 'Clear all breakpoints' in the debug menu, the red circles do not disappear.
Title: Re: The 18 april 2006 build is out.
Post by: MoonKid on April 19, 2006, 07:10:30 pm
ansi build

The editorsettings-crash-bug is still alive in this version.
Title: Re: The 18 april 2006 build is out.
Post by: MortenMacFly on April 19, 2006, 07:42:44 pm
The same bug here!!!
If you watch strings with non-english characters (áéűőúüöó for example), [...]
I tried to debug that bastard. That's unfortunately some "deep-level stuff". When the event DebuggerGDB::OnGDBOutput is fired from the piped process the event.GetString() already holds the wrong string. So it must be related to the way how stdout and stcerr are obtained / converted in PipedProcess. I'm currently inspecting cbTextInputStream::ReadLine() and cbTextInputStream::NextChar() which could be the cause. I'm reporting this for those who may have more knowledge than I...
With regards, Morten.

Edit: That's really strange... if I inspect the memory of the string using C::B it clearly shows the "right stuff", passing a "display mystring.c_str()" to gdb seems to work, too. Hence it could be the way how STL strings are parsed in the debugger script (gdb_types.script)...?! Anybody else working on that can help?!