Code::Blocks Forums

User forums => Nightly builds => Topic started by: killerbot on July 23, 2007, 06:17:08 pm

Title: The 23 July 2007 build (4300) is out.
Post by: killerbot on July 23, 2007, 06:17:08 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_wx284.7z

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

The 23 July 2007 build is out.
  - Windows :
   http://prdownload.berlios.de/codeblocks/CB_20070723_rev4300_win32.7z
  - Linux :
   http://prdownload.berlios.de/codeblocks/CB_20070723_rev4300_Ubuntu6.10+7.04_wx2.8.4.tar.gz
   http://prdownload.berlios.de/codeblocks/CB_20070723_rev4300_Debian4.0_wx2.8.4.deb (not yet)
   http://prdownload.berlios.de/codeblocks/CB_20070723_rev4300_suse100-102.wx28.i586.rpm (not yet)
   http://prdownload.berlios.de/codeblocks/CB_20070723_rev4300_fc4+5.i586.rpm (not yet)


Resolved Fixed:


Regressions/Confirmed/Annoying/Common bugs:


Title: Re: The 23 July 2007 build (4300) is out.
Post by: dje on July 23, 2007, 06:54:09 pm
Hi all !

Bug !!!

When I hit Ctrl + Tab to change active editor, it inserts a tab.
SVN 4300
WinXP SP2

Dje
Title: Re: The 23 July 2007 build (4300) is out.
Post by: killerbot on July 23, 2007, 07:03:53 pm
Hi all !

Bug !!!

When I hit Ctrl + Tab to change active editor, it inserts a tab.
SVN 4300
WinXP SP2

Dje
tried on linux : works for me
Title: Re: The 23 July 2007 build (4300) is out.
Post by: dje on July 23, 2007, 08:29:30 pm
tried on linux : works for me

Hi Lieven !

What do you mean by work ? Same behaviour or no bug ?
The easiest example is a word selection then Ctrl + Tab to switch editor, the word is replaced by a tab

Do you think it has something to do with the event.Skip() added in this post (http://forums.codeblocks.org/index.php/topic,6093.msg50021/topicseen.html#msg50021) ?

Dje
Title: Re: The 23 July 2007 build (4300) is out.
Post by: killerbot on July 23, 2007, 08:51:01 pm
it works, no bug.
Title: Re: The 23 July 2007 build (4300) is out.
Post by: Acki on July 23, 2007, 09:47:40 pm
Hi all !

Bug !!!

When I hit Ctrl + Tab to change active editor, it inserts a tab.
SVN 4300
WinXP SP2

Dje
works for me as usual (no bug)...
same system (SVN 4300 on WXP sp2)

Title: Re: The 23 July 2007 build (4300) is out.
Post by: Enygma on July 23, 2007, 09:50:20 pm
Pretty please make a linux rpm... Fedora 7 preferable...  :cry:
Title: Re: The 23 July 2007 build (4300) is out.
Post by: stefanos_ on July 23, 2007, 10:09:46 pm
Hello Everyone.

I just tried the new 4300 version. I couldn't re-build, build, or even run a simple .cpp file, project or whatsoever. A constant message "cannot build/re-build, Process failed" and while displaying the error the cursor was blinking very fast with Code::Blocks crashing.

I switched back to version 4256 and everything works just fine :)

I use Windows XP SP2, MinGW 5.1.3, and wxWidgets 2.8.4...

Regards,

Stefanos
Title: Re: The 23 July 2007 build (4300) is out.
Post by: darthdespotism on July 23, 2007, 10:11:08 pm
You could use my Ubuntu.deb (http://www.savefile.com/files/911962) if you want as long as CStudent is busy on his own ;)

@ Enygma: I could not make any .rpm but you could try built it on your own, it's not that dificult ;)
Title: Re: The 23 July 2007 build (4300) is out.
Post by: Roman on July 23, 2007, 10:12:11 pm
Hi there!

Some strange behavior noticed after upgrading to current from 4261, nothing was changed in settings

Quote
-------------- Build: FL in Project45 ---------------
mingw32-g++.exe -g  -IE:\LibS\fltk\png -IE:\LibS\fltk\zlib -IE:\LibS\fltk\include -IE:\LibS\boost -IC:\MinGW\include  -c E:\Black_Mesa\Project45\fl_main.cpp -o obj\FL\fl_main.o
Execution of 'mingw32-g++.exe -g  -IE:\LibS\fltk\png -IE:\LibS\fltk\zlib -IE:\LibS\fltk\include -IE:\LibS\boost -IC:\MinGW\include  -c E:\Black_Mesa\Project45\fl_main.cpp -o obj\FL\fl_main.o' in 'E:\Black_Mesa\Project45' failed.
Nothing to be done.

Also tried virgin installation (clear AppData folder, clear C::B folder, set toolchain path and envvars). All was compiling perfectly on 4261. XP, 2.8.4

Regards,
Roman
Title: Re: The 23 July 2007 build (4300) is out.
Post by: stahta01 on July 23, 2007, 10:14:21 pm
FYI:

When testing my Windows Non Precompiled Headers, I get a missing header.

Tim S

Code
Index: src/include/logger.h
===================================================================
--- src/include/logger.h (revision 4300)
+++ src/include/logger.h (working copy)
@@ -9,6 +9,8 @@
 
 #include <stdio.h>
 
+#include "configmanager.h"
+
 class wxWindow;
 
 namespace
Title: Re: The 23 July 2007 build (4300) is out.
Post by: nenin on July 23, 2007, 10:39:24 pm
Now self-buid under Suse 10.2 AMD64 hung after attempt to create new project with message in console:
Code
(codeblocks:10857): Gtk-CRITICAL **: gtk_window_realize_icon: assertion `info->icon_pixmap == NULL' failed
Other last word:
Code
lab9212-01:/opt/codeblocks-svn/bin # ./codeblocks
*** glibc detected *** ./codeblocks: corrupted double-linked list: 0x0000000001417770 ***
======= Backtrace: =========
/lib64/libc.so.6[0x2ac4edff78fe]
/lib64/libc.so.6[0x2ac4edff8aed]
/lib64/libc.so.6(cfree+0x76)[0x2ac4edff8f36]
/opt/codeblocks-svn/lib/libcodeblocks.so.0(_ZN9TiXmlNode5ClearEv+0x21)[0x2ac4ec4e8ba1]
/opt/codeblocks-svn/lib/libcodeblocks.so.0(_ZN12TiXmlElement9ClearThisEv+0x12)[0x2ac4ec4e9ad2]
/opt/codeblocks-svn/lib/libcodeblocks.so.0(_ZN12TiXmlElementD0Ev+0x24)[0x2ac4ec4eac74]
/opt/codeblocks-svn/lib/libcodeblocks.so.0(_ZN9TiXmlNode5ClearEv+0x21)[0x2ac4ec4e8ba1]
/opt/codeblocks-svn/lib/libcodeblocks.so.0(_ZN12TiXmlElement9ClearThisEv+0x12)[0x2ac4ec4e9ad2]
/opt/codeblocks-svn/lib/libcodeblocks.so.0(_ZN12TiXmlElementD0Ev+0x24)[0x2ac4ec4eac74]
/opt/codeblocks-svn/lib/libcodeblocks.so.0(_ZN9TiXmlNode5ClearEv+0x21)[0x2ac4ec4e8ba1]
/opt/codeblocks-svn/lib/libcodeblocks.so.0(_ZN12TiXmlElement9ClearThisEv+0x12)[0x2ac4ec4e9ad2]
/opt/codeblocks-svn/lib/libcodeblocks.so.0(_ZN12TiXmlElementD0Ev+0x24)[0x2ac4ec4eac74]
/opt/codeblocks-svn/lib/libcodeblocks.so.0(_ZN9TiXmlNode5ClearEv+0x21)[0x2ac4ec4e8ba1]
/opt/codeblocks-svn/lib/libcodeblocks.so.0(_ZN12TiXmlElement9ClearThisEv+0x12)[0x2ac4ec4e9ad2]
/opt/codeblocks-svn/lib/libcodeblocks.so.0(_ZN12TiXmlElementD0Ev+0x24)[0x2ac4ec4eac74]
/opt/codeblocks-svn/lib/libcodeblocks.so.0(_ZN9TiXmlNode5ClearEv+0x21)[0x2ac4ec4e8ba1]
/opt/codeblocks-svn/lib/libcodeblocks.so.0(_ZN12TiXmlElement9ClearThisEv+0x12)[0x2ac4ec4e9ad2]
/opt/codeblocks-svn/lib/libcodeblocks.so.0(_ZN12TiXmlElementD0Ev+0x24)[0x2ac4ec4eac74]
/opt/codeblocks-svn/lib/libcodeblocks.so.0(_ZN9TiXmlNodeD2Ev+0x2f)[0x2ac4ec4eaa5f]
/opt/codeblocks-svn/lib/libcodeblocks.so.0(_ZN13TiXmlDocumentD0Ev+0x31)[0x2ac4ec4ef4f1]
/opt/codeblocks-svn/lib/libcodeblocks.so.0(_ZN10CfgMgrBldr5CloseEv+0x4a)[0x2ac4ec36e25a]
/opt/codeblocks-svn/lib/libcodeblocks.so.0(_ZN10CfgMgrBldrD0Ev+0x77)[0x2ac4ec36e407]
/opt/codeblocks-svn/lib/libcodeblocks.so.0(_ZN7ManagerD1Ev+0x162)[0x2ac4ec3db4e2]
/opt/codeblocks-svn/lib/libcodeblocks.so.0(_ZN7Manager4FreeEv+0x15)[0x2ac4ec3db585]
./codeblocks[0x427f10]
/usr/local/lib/libwx_gtk2u-2.8.so.0(_Z7wxEntryRiPPw+0x5a)[0x2ac4ecc2caba]
./codeblocks[0x427f42]
/lib64/libc.so.6(__libc_start_main+0xf4)[0x2ac4edfa8ae4]
./codeblocks(_ZN19wxTopLevelWindowGTK14OnInternalIdleEv+0xe9)[0x427d39]
======= Memory map: ========
00400000-00496000 r-xp 00000000 03:02 1868015                            /opt/codeblocks-svn/bin/codeblocks
00695000-0069d000 r--p 00095000 03:02 1868015                            /opt/codeblocks-svn/bin/codeblocks
0069d000-0069f000 rw-p 0009d000 03:02 1868015                            /opt/codeblocks-svn/bin/codeblocks
0069f000-014f6000 rw-p 0069f000 00:00 0                                  [heap]
40000000-40001000 ---p 40000000 00:00 0
40001000-40801000 rw-p 40001000 00:00 0
40801000-40802000 ---p 40801000 00:00 0
40802000-41002000 rw-p 40802000 00:00 0
41002000-41003000 ---p 41002000 00:00 0
41003000-41803000 rw-p 41003000 00:00 0
41803000-41804000 ---p 41803000 00:00 0
41804000-42004000 rw-p 41804000 00:00 0
42004000-42005000 ---p 42004000 00:00 0
42005000-42805000 rw-p 42005000 00:00 0
42805000-42806000 ---p 42805000 00:00 0
42806000-43006000 rw-p 42806000 00:00 0
2aaaaaaac000-2aaaaaab2000 r-xp 00000000 03:02 1740488                    /opt/gnome/lib64/gtk-2.0/2.10.0/loaders/libpixbufloader-xpm.so
2aaaaaab2000-2aaaaacb1000 ---p 00006000 03:02 1740488                    /opt/gnome/lib64/gtk-2.0/2.10.0/loaders/libpixbufloader-xpm.so
2aaaaacb1000-2aaaaacb3000 rw-p 00005000 03:02 1740488                    /opt/gnome/lib64/gtk-2.0/2.10.0/loaders/libpixbufloader-xpm.so
2aaaaacb3000-2aaaaace2000 r-xp 00000000 03:02 1868020                    /opt/codeblocks-svn/share/codeblocks/plugins/libastyle.so
2aaaaace2000-2aaaaaee2000 ---p 0002f000 03:02 1868020                    /opt/codeblocks-svn/share/codeblocks/plugins/libastyle.so
2aaaaaee2000-2aaaaaee4000 r--p 0002f000 03:02 1868020                    /opt/codeblocks-svn/share/codeblocks/plugins/libastyle.so
2aaAborted


Title: Re: The 23 July 2007 build (4300) is out.
Post by: pauliusz on July 23, 2007, 10:42:38 pm
I have the same problem like Roman and stefanos_ with my own compiler. I works OK with earlier versions like 4282. Maybe this bug was introduced in revision 4296... just guessing... I will try to look at this problem tomorrow if it will still persist.
Title: Re: The 23 July 2007 build (4300) is out.
Post by: dje on July 23, 2007, 10:45:14 pm
Quote
Hi all !

Bug !!!

When I hit Ctrl + Tab to change active editor, it inserts a tab.
SVN 4300
WinXP SP2

Dje

Well, it comes from my default.conf.
When I rename it, it is created and behaviour is OK.
Is it interesting to post it ?

Dje
Title: Re: The 23 July 2007 build (4300) is out.
Post by: pasgui on July 23, 2007, 10:50:41 pm
Build for Ubuntu 7.04 i386 can be found here (http://www.savefile.com/files/912079)

Best regards,

pasgui
Title: Re: The 23 July 2007 build (4300) is out.
Post by: Acki on July 24, 2007, 01:48:43 am
I have the same problem like Roman and stefanos_ with my own compiler. I works OK with earlier versions like 4282. Maybe this bug was introduced in revision 4296... just guessing... I will try to look at this problem tomorrow if it will still persist.
same for me (WXP sp2) !!!
Title: Re: The 23 July 2007 build (4300) is out.
Post by: Biplab on July 24, 2007, 04:17:02 am
I have the same problem like Roman and stefanos_ with my own compiler. I works OK with earlier versions like 4282. Maybe this bug was introduced in revision 4296... just guessing... I will try to look at this problem tomorrow if it will still persist.
same for me (WXP sp2) !!!

Please wait for the next nightly. I'm looking into it.

For the time being, please add C:\MinGW\bin to your PATH.
Title: Re: The 23 July 2007 build (4300) is out.
Post by: Biplab on July 24, 2007, 05:58:13 am
I've fixed this issue in revision 4302. :)

Please post if you face any further bugs related to it.
Title: Re: The 23 July 2007 build (4300) is out.
Post by: killerbot on July 24, 2007, 03:51:47 pm
FYI:

When testing my Windows Non Precompiled Headers, I get a missing header.

Tim S

Code
Index: src/include/logger.h
===================================================================
--- src/include/logger.h (revision 4300)
+++ src/include/logger.h (working copy)
@@ -9,6 +9,8 @@
 
 #include <stdio.h>
 
+#include "configmanager.h"
+
 class wxWindow;
 
 namespace
done
Title: Re: The 23 July 2007 build (4300) is out.
Post by: ViniGodoy on July 24, 2007, 03:59:53 pm
I downloaded this version and tried to use Glut wizard without success.
The wizard requests me the glut location, but it keep giving me the message:

"The path you entered seems to be valid, but this wizard can't locate the following GLUT's include file:
glut.h in it."

The problem is that the file IS in the directory given by me. I also created an "include" folder and placed a copy of the file in it, but the problem still occurs.
Title: Re: The 23 July 2007 build (4300) is out.
Post by: dje on July 24, 2007, 04:29:24 pm
Hi all !

The following code gives parsing errors because of the macro.
It impacts code completion and symbols window:
Code
class MyClass1
{
    MyClass1();
    ~MyClass1();

    void MyMethod1();
}

class MyClass2
{
    MyClass2();
    ~MyClass2();

    void MyMethod2();
}


class MyClass
#ifdef FOO
            : public MyClass1
            , public MyClass2
#endif
{
    MyClass();
    ~MyClass();

    void MyMethod();
}


With it, the FOO class exists, MyClass does not and code completion does not work at all in MyClass.

Win XP
SVN4300
wxWidgets 2.8.4

The same explanations are on Berlios in bug 011626 (https://developer.berlios.de/bugs/?func=detailbug&bug_id=11626&group_id=5358)

Dje

[attachment deleted by admin]
Title: Re: The 23 July 2007 build (4300) is out.
Post by: Biplab on July 24, 2007, 04:31:32 pm
The problem is that the file IS in the directory given by me. I also created an "include" folder and placed a copy of the file in it, but the problem still occurs.

The wizard expects the header to be in <Glut_top_dir>/include/GL directory. So create another directory, named GL, inside include dir and wizard shouldn't complain again. :)
Title: Can't build from SVN since 4267
Post by: szczepan on July 24, 2007, 05:38:58 pm


I can't build from SVN since 4267 because of a build system glitch. Bug report is here (https://developer.berlios.de/bugs/?func=detailbug&bug_id=11607&group_id=5358). I did my homework and binary-searched over revision numbers 4200..4300 to find the one that introduced the problem. I did some further investigation and posted comments in the bug report. Could someone please attend to this?


Title: broken: check for externally modified files
Post by: oats on July 24, 2007, 08:10:20 pm
I am running CB nightly build from a few days ago, 4281, but it doesn't look like this issue has been addressed.

Settings -> Environment -> General Settings -> "Check for externally modified files" is enabled, however when I modify files with an external editor and switch back to CB editor, the file does not display with the updated content.  I had previously been using RC2, and this feature worked fine.  When I would switch back to CB, I would get a prompt that files had been modified, would I like to refresh, etc.

This is my first install of a nightly build, so I don't know how long this feature has been broken/changed.

I am running Win XP SP2.

UPDATE: nevermind, after I quit the project and reopened, everything seems to work correctly.  CB was definitely misbehaving for a while, but I could not repeat the error.
Title: Re: The 23 July 2007 build (4300) is out.
Post by: TDragon on July 24, 2007, 11:31:10 pm
Quote
Hi all !

Bug !!!

When I hit Ctrl + Tab to change active editor, it inserts a tab.
SVN 4300
WinXP SP2

Dje

Well, it comes from my default.conf.
When I rename it, it is created and behaviour is OK.
Is it interesting to post it ?
I have the same symptoms. (XP SP2, C::B r4307 by GCC 4.2.1)
Renaming/deleting the old default.conf does solve the problem, but it's very annoying to have lost all my settings.
Title: Re: The 23 July 2007 build (4300) is out.
Post by: dje on July 24, 2007, 11:44:34 pm
Renaming/deleting the old default.conf does solve the problem, but it's very annoying to have lost all my settings.

Totally agree ! :D
Even if WinMerge is wonderful, I'd like not to use it to get back my compilers settings  :wink:

Dje
Title: Re: The 23 July 2007 build (4300) is out.
Post by: pauliusz on July 24, 2007, 11:57:13 pm
Renaming/deleting the old default.conf does solve the problem, but it's very annoying to have lost all my settings.

Totally agree ! :D
Even if WinMerge is wonderful, I'd like not to use it to get back my compilers settings  :wink:

Dje

Maybe the solution would be to make separate conf file for keybinder in order to preserve all other options...
Title: Re: The 23 July 2007 build (4300) is out.
Post by: Pecan on July 25, 2007, 12:04:37 am
Maybe the solution would be to make separate conf file for keybinder in order to preserve all other options...

KeyBinder does not use the default.conf.
It saves it's key bindings in cbKeyBinder10.ini
Title: Re: The 23 July 2007 build (4300) is out.
Post by: TDragon on July 25, 2007, 12:38:20 am
Maybe the solution would be to make separate conf file for keybinder in order to preserve all other options...
I don't use the keybinder plugin, and in fact have never had it installed on my system. (The last official nightly build I ever used was before it was included.) So this bug is not related to the keybinder plugin.