Code::Blocks Forums

User forums => Nightly builds => Topic started by: killerbot on May 29, 2008, 08:29:33 pm

Title: The 29 May 2008 build (5082) is out.
Post by: killerbot on May 29, 2008, 08:29:33 pm
Get quick announcements through the RSS feed http://www.codeblocks.org/nightly/CodeBlock_RSS.xml

Before you use a nightly make sure you understand how it works (http://forums.codeblocks.org/index.php/topic,3232.0.html).

A link to the unicode windows wxWidget dll for Code::Blocks : http://prdownload.berlios.de/codeblocks/wxmsw28u_gcc_cb_wx287.7z

For those who might need this one (when no MingW installed on your system) : the mingw10m.dll : http://prdownload.berlios.de/codeblocks/mingwm10_gcc421.7z

The 29 May 2008 build is out.
  - Windows :
   http://prdownload.berlios.de/codeblocks/CB_20080529_rev5082_win32.7z
  - Linux :
   none

Resolved Fixed:


Regressions/Confirmed/Annoying/Common bugs:


Title: Re: The 29 May 2008 build (5082) is out.
Post by: Jenna on May 29, 2008, 09:44:56 pm
A source tar-ball (usable on linux and windows) and binaries for debian (32 and 64 bit) are available on my server (http://apt.jenslody.de/).
Title: Re: The 29 May 2008 build (5082) is out.
Post by: Xaviou on May 29, 2008, 10:40:54 pm
Ubuntu 7.04 to 8.04 Amd64 tar.gz archive (containing '.deb' installers builds with wx287) can be found here (http://www.esnips.com/web/CodeBlocks).
Title: Re: The 29 May 2008 build (5082) is out.
Post by: pasgui on May 30, 2008, 12:03:29 am
Build for Ubuntu i386/amd64 can be found here (http://lgp203.free.fr/spip/spip.php?article1)

Best regards, pasgui
Title: Help me!
Post by: nanyu on June 02, 2008, 04:16:24 am
codeblocks svn 5082 + windows XP (home) + mingw32

First Step:      RUN CodeBlocks, and start coding
Second Step:  in the mean time, insert a cd into my Dvd drive and browse it
Third Step:     Back to CodeBlocks and build the project. While the project is building, an error msg pops up.
                   The title is:"mingw32-g++.exe - no disk"
                    Error Msg:"No Disk were found, please insert a disk in to D:"(P.S. my DVD Driver is D:\)
Fourth Step: either Reboot CodeBlocks or Reboot the pc, problem still remain. The only way to pass the above problem is, insert a CD into my DVD Driver during CodeBlocks is building project.

help me , thanks.
Title: Re: The 29 May 2008 build (5082) is out.
Post by: stahta01 on June 02, 2008, 04:45:18 am
nanyu:

Try doing
"File" -> "Recent Files"
"Clear History"

Someone posted this as a fix for a problem somewhat like yours.

Tim S
Title: Re: The 29 May 2008 build (5082) is out.
Post by: nanyu on June 02, 2008, 05:11:26 am
Dear Tim
i did wht u told, but problem still remain.

btw, i didn't browse the CD with Code Blocks at all. I only browsed my CD with file explorer. Therefore, i don't think clear History will help
Title: Re: The 29 May 2008 build (5082) is out.
Post by: stahta01 on June 02, 2008, 05:19:29 am
nanyu:

Has the MinGW GCC ever worked? If not, I suggest downloading a newer 3.4.5 MinGW install.
One of the recent MinGW GCC had a problem that was close to yours.

Tim S
Title: Re: The 29 May 2008 build (5082) is out.
Post by: killerbot on June 02, 2008, 07:26:45 am
or download the MinGW files for the 4.2.1 (or is it 4.1.2) (I use the dm2) : works ok for me
Title: Re: The 29 May 2008 build (5082) is out.
Post by: Biplab on June 02, 2008, 08:23:33 am
It's a known problem of the GCC-3.4.5 build for Vista. Please download the latest one.
Title: Re: The 29 May 2008 build (5082) is out.
Post by: Sunyata on June 02, 2008, 09:18:35 am
I am also having the same problem in XP and Vista.
But after restart the PC and not try to access the CD drive, it works fine.
Another way to resolve the problem is just insert any CD into the drive,
the error will not appear anymore.
Title: Re: The 29 May 2008 build (5082) is out.
Post by: nanyu on June 02, 2008, 09:51:43 am
Dear stahta01,killerbot,Biplab and Biplab ,thanks for your replies.
But I still cann`t  settle it now.
To BipLab, ACE can not be compiled in (mingw32) GCC3.4.5 while I really need it.
Title: Re: The 29 May 2008 build (5082) is out.
Post by: Biplab on June 02, 2008, 01:01:06 pm
As I said earlier, it is a problem of certain build of GCC. You can read about the problem in details from the following links.

Quote
http://forums.codeblocks.org/index.php?topic=8088.msg60513#msg60513
http://www.nabble.com/forum/ViewPost.jtp?post=16344592&framed=y

This bug was fixed in the following release.
Quote
http://sourceforge.net/forum/forum.php?forum_id=815819

So grab the right package and your problem will be solved.

If I'm not wrong, C::B 8.02 ships with the wrong GCC for Vista package which has this issue. May be it's time for a new release or at least repackage the 8.02 with the fixed compiler. :)

To BipLab, ACE can not be compiled in (mingw32) GCC3.4.5 while I really need it.

Sorry, but I couldn't understand your message.
Title: Re: The 29 May 2008 build (5082) is out.
Post by: stahta01 on June 02, 2008, 03:17:52 pm
Patch for NON-PCH Build on Windows.

Tim S


Index: src/plugins/contrib/headerfixup/fileanalysis.cpp
===================================================================
--- src/plugins/contrib/headerfixup/fileanalysis.cpp   (revision 5084)
+++ src/plugins/contrib/headerfixup/fileanalysis.cpp   (working copy)
@@ -12,6 +12,7 @@
   #include "manager.h"
   #include "editormanager.h"
   #include "cbeditor.h"
+  #include "logmanager.h"
 #endif
 
 #include <wx/ffile.h>
Title: Re: The 29 May 2008 build (5082) is out.
Post by: Belgabor on June 03, 2008, 01:33:36 am
The Insert -> All Class methods without implementation function does not add methods of nested classes correctly.
If I have
Code
struct A {
  struct B {
    void callme();
  };
};
it correctly shows "A::B::callme(): void" in the selection list, but adds
Code
void B::callme()
{

}
to the cpp file, ie the "A::" is missing.
Title: Re: The 29 May 2008 build (5082) is out.
Post by: killerbot on June 03, 2008, 08:46:18 am
Patch for NON-PCH Build on Windows.

Tim S


Index: src/plugins/contrib/headerfixup/fileanalysis.cpp
===================================================================
--- src/plugins/contrib/headerfixup/fileanalysis.cpp   (revision 5084)
+++ src/plugins/contrib/headerfixup/fileanalysis.cpp   (working copy)
@@ -12,6 +12,7 @@
   #include "manager.h"
   #include "editormanager.h"
   #include "cbeditor.h"
+  #include "logmanager.h"
 #endif
 
 #include <wx/ffile.h>


done
Title: Re: The 29 May 2008 build (5082) is out.
Post by: Loaden on June 03, 2008, 04:10:37 pm
In Debian Lenny, I opened CB and edit some source code. When i type 'wxS', the 'S' will make CB crash.
In the /tmp dir, it's exist a folder: codeblocks_dbgrpt-12559-20080603T220018, but nothing in it.
When i retry again, the crash repeat.
Title: Re: The 29 May 2008 build (5082) is out.
Post by: MortenMacFly on June 03, 2008, 05:52:18 pm
Patch for NON-PCH Build on Windows.
Index: src/plugins/contrib/headerfixup/fileanalysis.cpp
===================================================================
--- src/plugins/contrib/headerfixup/fileanalysis.cpp   (revision 5084)
+++ src/plugins/contrib/headerfixup/fileanalysis.cpp   (working copy)
@@ -12,6 +12,7 @@
   #include "manager.h"
   #include "editormanager.h"
   #include "cbeditor.h"
+  #include "logmanager.h"
 #endif
 
 #include <wx/ffile.h>
:lol: :lol: :lol:

I can't believe it! That's what this plugin is actually for: NOT to have to apply any PCH fixes... Need to dig into that. WTF...?! :shock:
Title: Re: The 29 May 2008 build (5082) is out.
Post by: Loaden on June 04, 2008, 03:31:53 am
Debian Lenny: Using CB, the computer shut down, when i restart the computer, and open the prev project, i found all file can not edit. and the project show with a lock ico.
How to unlock the project?
Thanks!
---------------------------------
Found the reason! because the disk is read-only!
Title: Re: The 29 May 2008 build (5082) is out.
Post by: Loaden on June 04, 2008, 04:28:24 pm
Debian: if some cpp file include chinese char, and Settings->Editor->Default encoding is 'Windows 936', this file will auto change encoding to ISO-8859-1, and the chinese char can not show correct.
Title: Re: The 29 May 2008 build (5082) is out.
Post by: mushakk on June 05, 2008, 03:54:11 pm
Codeblocks continues passing .INL files to the linker and ar can't link.  :(

The .inl files are always included from the .h file that declares the template.
#include "mytemplate.inl.

I have to return to the 8.02 version.  :(

Thanks for your work.  :D
Title: Re: The 29 May 2008 build (5082) is out.
Post by: MortenMacFly on June 05, 2008, 04:10:03 pm
Codeblocks continues passing .INL files to the linker and ar can't link.  :(
Instead of posting this "1 million times" thus spamming the forum why don't you just create a bug report at BerliOS so that this doesn't get lost?
Title: Re: The 29 May 2008 build (5082) is out.
Post by: Chilihead on June 05, 2008, 04:46:40 pm
Greetings,

i cant debug anymore with this build. console applications simply dont start.

CB Build: 5082
System: WinXP

debuger's log

PATH=.;C:\Programme\CodeBlocks\MinGW\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Programme\doxygen\bin;C:\Qt\4.4.0\bin;c:\Programme\Microsoft SQL Server\90\Tools\binn\
Command-line: C:\Programme\CodeBlocks\MinGW\bin\gdb.exe -nx -fullname  -quiet -args bin/Debug/CogardReader.exe
Working dir : C:\Entwickel\CDAE\CogardReader\
> set prompt >>>>>>cb_gdb:
(gdb) >>>>>>cb_gdb:
> show version
GNU gdb 6.7.50.20071127
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-mingw32".
>>>>>>cb_gdb:
> set confirm off
>>>>>>cb_gdb:
> set width 0
>>>>>>cb_gdb:
> set height 0
>>>>>>cb_gdb:
> set breakpoint pending on
>>>>>>cb_gdb:
> set print asm-demangle on
>>>>>>cb_gdb:
> set unwindonsignal on
>>>>>>cb_gdb:
> set debugevents on
>>>>>>cb_gdb:
> set new-console on
>>>>>>cb_gdb:
> set disassembly-flavor att
>>>>>>cb_gdb:
> catch throw
Catchpoint 1 (throw)
>>>>>>cb_gdb:
> directory C:/Entwickel/CDAE/CogardReader/
>>>>>>cb_gdb:
> directory C:/Entwickel/
>>>>>>cb_gdb:
> break "C:/Entwickel/CDAE/CogardReader/main.cpp:18"
Breakpoint 2 at 0x418971: file C:/Entwickel/CDAE/CogardReader/main.cpp, line 18.
>>>>>>cb_gdb:
> run
gdb: win32_init_thread_list
warning: Lowest section in C:\WINDOWS\system32\odbcint.dll is .rsrc at 1f841000
Catchpoint 1 (exception thrown)
__static_initialization_and_destruction_0 (__initialize_p=1, __priority=65535) at C:/Programme/CodeBlocks/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/iostream:77
C:/Programme/CodeBlocks/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/iostream:77:3064:beg:0x41ede8
>>>>>>cb_gdb:
> set debugevents off
>>>>>>cb_gdb:
Title: Re: The 29 May 2008 build (5082) is out.
Post by: mushakk on June 05, 2008, 08:02:51 pm
Quote
Instead of posting this "1 million times" thus spamming the forum why don't you just create a bug report at BerliOS so that this doesn't get lost?

Sorry "2 times" I don't know how to do it or if I have permissions to do that :P
Title: Re: The 29 May 2008 build (5082) is out.
Post by: Jenna on June 05, 2008, 08:46:36 pm
Quote
Instead of posting this "1 million times" thus spamming the forum why don't you just create a bug report at BerliOS so that this doesn't get lost?

Sorry "2 times" I don't know how to do it or if I have permissions to do that :P

Open C::B and on "Start here"-tab click on "Report a bug",
or click here (https://developer.berlios.de/account/login.php?return_to=%2Fbugs%2F%3Ffunc%3Daddbug%26group_id%3D5358)

You need to register at berlios to be able to file a bug-report.
Title: Re: The 29 May 2008 build (5082) is out.
Post by: mushakk on June 09, 2008, 02:42:09 pm
Oops! Thank u jens  :D