Code::Blocks Forums

User forums => Nightly builds => Topic started by: killerbot on September 25, 2007, 08:16:43 pm

Title: The 25 September 2007 build (4491) is out.
Post by: killerbot on September 25, 2007, 08:16:43 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 25 September 2007 build is out.
  - Windows :
   http://prdownload.berlios.de/codeblocks/CB_20070925_rev4491_win32.7z
  - Linux :
   none

Resolved Fixed:


Regressions/Confirmed/Annoying/Common bugs:


Title: Re: The 25 September 2007 build (4491) is out.
Post by: Xaviou on September 25, 2007, 08:41:54 pm
Ubuntu 6.10 & 7.04 Amd64 tar.gz archive (containing '.deb' installers builds with wx284) can be found here (http://www.esnips.com/web/CodeBlocks).
Title: Re: The 25 September 2007 build (4491) is out.
Post by: pasgui on September 25, 2007, 09:27:54 pm
Build for Ubuntu i386/amd64 can be found here (http://lgp203.free.fr/spip/spip.php?article1)
Title: Re: The 25 September 2007 build (4491) is out.
Post by: JGM on September 26, 2007, 05:50:58 am
Great work Xaviou, and pasgui!
Title: Re: The 25 September 2007 build (4491) is out.
Post by: CmKaHo on September 26, 2007, 09:31:39 am
I am very interested in AVR. But this build (4491) crashes on my WinXP. 4461 works fine. Crash report included.

[attachment deleted by admin]
Title: Re: The 25 September 2007 build (4491) is out.
Post by: roland on September 26, 2007, 05:49:55 pm
Looks as if wxwidgets 2.8.6 should be released shortly. Will the nightlies be moving to the new version?
Title: Re: The 25 September 2007 build (4491) is out.
Post by: killerbot on September 26, 2007, 06:57:46 pm
if it is ok, wx285 had issues so in the end we didn't do the move, so first we watch a bit on wx286 and then we update ;-)
Title: Re: The 25 September 2007 build (4491) is out.
Post by: mariocup on September 27, 2007, 01:26:20 pm
Hi,

with the currently nightly 4491 the options are not parsed correctly. E.g. if you build the attached project with cb (full command line) you will see that in the command line the root option of the linker settings and the appended options are not seperated with a blank!!!



[attachment deleted by admin]
Title: Re: The 25 September 2007 build (4491) is out.
Post by: mariocup on September 27, 2007, 04:18:30 pm
Hi,

the described error has been introduced in revision 4485 (globals.cpp)

Code
    for (unsigned int i = 0; i < array.GetCount(); ++i)
    {
        out << array[i];
        if (i < array.GetCount() - 1)
out << separator;
    }

Title: Re: The 25 September 2007 build (4491) is out.
Post by: killerbot on September 27, 2007, 05:37:16 pm
the change in this function is ok though, but it's client probably appends even more and that one should insert/append a space

wxString GetStringFromArray(const wxArrayString& array, const wxString& separator)

EX : This/is/a/test

==>"This is a test"

[before the change you would get : "This is a test "] -> silly to add a space at the end, just for fun ;-)
Title: Re: The 25 September 2007 build (4491) is out.
Post by: zgf on September 28, 2007, 10:05:26 am
It seems that I can't navigate between declaration and defination by right-click menu in this version, anybody else has the same problem with me? :)
Title: Re: The 25 September 2007 build (4491) is out.
Post by: killerbot on September 28, 2007, 10:40:24 am
the change in this function is ok though, but it's client probably appends even more and that one should insert/append a space

wxString GetStringFromArray(const wxArrayString& array, const wxString& separator)

EX : This/is/a/test

==>"This is a test"

[before the change you would get : "This is a test "] -> silly to add a space at the end, just for fun ;-)

we'll go for the quick way --> putting the trailing space back ;-)
Title: Re: The 25 September 2007 build (4491) is out.
Post by: Jenna on September 28, 2007, 12:21:41 pm
we'll go for the quick way --> putting the trailing space back ;-)

What about doing a trim before returning the wxString ?
Title: Re: The 25 September 2007 build (4491) is out.
Post by: killerbot on September 28, 2007, 12:39:02 pm
would have the same issue, the client of the function is appending stuff (but which client), the particular client is appending more linker options, but the first end with a character and the second start with a character, so 2 options merge into 1 incorrect one, a space should be inserted in the middle
Title: Re: The 25 September 2007 build (4491) is out.
Post by: thomas on September 28, 2007, 12:52:41 pm
Oh please don't... :(

Please don't add a hack to make a hack work.
Title: Re: The 25 September 2007 build (4491) is out.
Post by: killerbot on September 28, 2007, 12:57:54 pm
@Thomas : it went back to way it was before.

I agree it would be better NOT to have that trailing space, but all uses should be checked and for sure some adjusted.
Title: Re: The 25 September 2007 build (4491) is out.
Post by: docwario on September 28, 2007, 04:09:12 pm
Hi all,

I tried CodeBlocks and I think it's great, so I'm trying to install it on my gentoo box but I have a problem during compilation.

Here is the error :
Quote
/bin/sh ../../../libtool --tag=CXX --mode=link g++  -O2 -ffast-math -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions   -o auto_revision  autorevision.o ../../base/tinyxml/libtinyxml.la -lpthread -ldl
mkdir .libs
g++ -O2 -ffast-math -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -o auto_revision autorevision.o  ../../base/tinyxml/.libs/libtinyxml.a -lpthread -ldl 
./auto_revision +int +wx +t ../../.. ../../../src/include/autorevision.h
make[3]: quittant le répertoire « /home/docwario/src_CodeBlocks/4491/src/build_tools/autorevision »
make[3]: entrant dans le répertoire « /home/docwario/src_CodeBlocks/4491/src/build_tools »
make[3]: Rien à faire pour « all-am ».
make[3]: quittant le répertoire « /home/docwario/src_CodeBlocks/4491/src/build_tools »
make[2]: quittant le répertoire « /home/docwario/src_CodeBlocks/4491/src/build_tools »
Making all in include
make[2]: entrant dans le répertoire « /home/docwario/src_CodeBlocks/4491/src/include »
make[2]: *** Pas de règle pour fabriquer la cible « xtra_classes.h », nécessaire pour « ../../src/include/sdk_precomp.h.gch ». Arrêt.
make[2]: quittant le répertoire « /home/docwario/src_CodeBlocks/4491/src/include »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /home/docwario/src_CodeBlocks/4491/src »
make: *** [all-recursive] Erreur 1

For the non-french, the interesting part is the :
make[2]: *** Pas de règle pour fabriquer la cible « xtra_classes.h », nécessaire pour « ../../src/include/sdk_precomp.h.gch ». Arrêt.

-> No rules to create "xtra_classes.h"

Any idea on how to resolve this ?
Title: Re: The 25 September 2007 build (4491) is out.
Post by: Jenna on September 28, 2007, 04:16:07 pm
same for me (at least with svn4497 and svn4498)

Edit:
looks like "src/include/xtra_classes.h" got lost between 4496 and 4497

I fetched it from 4496 and it seems to compile
Title: Re: The 25 September 2007 build (4491) is out.
Post by: thomas on September 28, 2007, 04:46:54 pm
That file has been deleted. Try updating to 4499, this should compile.
Title: Re: The 25 September 2007 build (4491) is out.
Post by: docwario on September 28, 2007, 06:09:36 pm
Thanks, it is now working fine !

You must have done something because, the first time I tried to download the latest version via svn (svn://svn.berlios.de/codeblocks/trunk), I got the 4497 version, and now I got 4499 (which is working).

Anyway thanks for your great work.
Title: Re: The 25 September 2007 build (4491) is out.
Post by: ludug3r0 on September 30, 2007, 08:13:50 pm
Code::Blocks already loads default.conf in the instalation directory before the one in "Documents and Settings"...
Could it load first default.workspace in the instalation directory too?

That would be a great thing for me... Meybe in a future build...

Thanks in advance.