News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

The 14 April 2007 build is out.

Started by killerbot, April 14, 2007, 08:34:55 PM

Previous topic - Next topic

killerbot

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://prdownload.berlios.de/codeblocks/wxmsw26u_gcc_cb_wx2.6.3p2.7z

To fix the menu alignment bug introduced in wx 2.6.3 [windows only bug] we have patched wx ourselves, and that results in the following alternative dll : http://prdownload.berlios.de/codeblocks/wxmsw26u_gcc_cb_wx2.6.3p2AndCbPatch_version3.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

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

The 14 April 2007 build is out.
  - Windows : http://prdownload.berlios.de/codeblocks/CB_20070414_rev3855_win32.7z
  - Linux :
         http://prdownload.berlios.de/codeblocks/CB_20070414_rev3855_Ubuntu6.xx.deb
         http://prdownload.berlios.de/codeblocks/CB_20070414_rev3855_suse100-102.i586.rpm (not yet)
         http://prdownload.berlios.de/codeblocks/CB_20070414_rev3855_fc4+5.i586.rpm (not yet)


Resolved Fixed:


  • CodeSnippets 1.1.73 2007/04/13 and 1.1.74 2007/04/14 : - Fixes & Edit additions (cf., version.cpp)

Regressions/Confirmed/Annoying/Common bugs:


  • toolbar-images-not-changing-state (is a wx problem/Win XP problem)
  • menu items with icon not correctly aligned (since wx263) (is fixed with our special wx263/wx28 dll)


Xaviou

#1
Can't build on Ubuntu 6.10 Amd64 : Error in src/plugins/contrib/codesnippets/finddialogs.cpp

Code (Build log) Select
finddialogs.cpp: In constructor 'myFindReplaceDlg::myFindReplaceDlg(wxWindow*, const wxString&, const wxString&, wxUint32, long int)':
finddialogs.cpp:121: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
/usr/include/wx-2.6/wx/gtk/combobox.h:53: note: candidate 1: wxComboBox::wxComboBox(wxWindow*, wxWindowID, const wxString&, const wxPoint&, const wxSize&, int, const wxString*, long int, const wxValidator&, const wxString&)
/usr/include/wx-2.6/wx/gtk/combobox.h:64: note: candidate 2: wxComboBox::wxComboBox(wxWindow*, wxWindowID, const wxString&, const wxPoint&, const wxSize&, const wxArrayString&, long int, const wxValidator&, const wxString&)
make[6]: *** [finddialogs.lo] Erreur 1


And here is the error :
Code (finddialogs.cpp) Select
    m_finddir = new wxComboBox (this, -1, finddir,
                                wxDefaultPosition, wxSize(200, -1),
                                //0, NULL); //AMD64 ambiguity betw int vs wxArray
                                (int)0, NULL);


Edit : Seems to be working if adding a second cast :
Code (finddialogs.cpp) Select
    m_finddir = new wxComboBox (this, -1, finddir,
                                wxDefaultPosition, wxSize(200, -1),
                                //0, NULL); //AMD64 ambiguity betw int vs wxArray
                                (int)0, (const wxString*) NULL);
My wxWidgets's stuff : [url="https://wxstuff.xaviou.fr/"]https://wxstuff.xaviou.fr/[/url]

Xaviou

Quote from: Me on April 14, 2007, 10:40:55 PM
Seems to be working if adding a second cast :
Code (finddialogs.cpp) Select
    m_finddir = new wxComboBox (this, -1, finddir,
                                wxDefaultPosition, wxSize(200, -1),
                                //0, NULL); //AMD64 ambiguity betw int vs wxArray
                                (int)0, (const wxString*) NULL);

It works  :D

Ubuntu 6.10 Amd64 .deb installer can be found here.
My wxWidgets's stuff : [url="https://wxstuff.xaviou.fr/"]https://wxstuff.xaviou.fr/[/url]

Pecan

Quote from: Xaviou on April 14, 2007, 11:17:07 PM
Quote from: Me on April 14, 2007, 10:40:55 PM
Seems to be working if adding a second cast :
Code (finddialogs.cpp) Select
    m_finddir = new wxComboBox (this, -1, finddir,
                                wxDefaultPosition, wxSize(200, -1),
                                //0, NULL); //AMD64 ambiguity betw int vs wxArray
                                (int)0, (const wxString*) NULL);

It works  :D

Ubuntu 6.10 Amd64 .deb installer can be found here.


Thanks for the reports and fix.
Applied SVN 3858

cstudent


line

Using the 13 apr build on win32. If I select text and press crtl-x (for cut), it removes the whole line instead of the selected portion.
Cut from the edit menu still works.

Gibbon

Latest SVN checkout:

p:~/codeBlocksSVN/trunk$ svn update
At revision 3858.


and I get this error message:

g++ -DHAVE_CONFIG_H -I. -I. -I../../src/include -I/usr/local/lib/wx/include/gtk2-ansi-release-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -I../../src/include -I../../src/include/wxscintilla/include -I../../src/include/tinyxml -I../../src/include/scripting/include -I../../src/include/scripting/sqplus -I../../src/include/wxFlatNotebook/include -I../../src/include/propgrid/include -Ulinux -Uunix -O2 -ffast-math -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT editormanager.lo -MD -MP -MF .deps/editormanager.Tpo -c editormanager.cpp  -fPIC -DPIC -o .libs/editormanager.o
editormanager.cpp: In member function 'int EditorManager::Replace(cbStyledTextCtrl*, cbFindReplaceData*)':
editormanager.cpp:1450: error: 'wxRE_ADVANCED' was not declared in this scope
editormanager.cpp:1452: error: 'wxRE_ADVANCED' was not declared in this scope
editormanager.cpp: In member function 'int EditorManager::ReplaceInFiles(cbFindReplaceData*)':
editormanager.cpp:1734: error: 'wxRE_ADVANCED' was not declared in this scope
editormanager.cpp:1736: error: 'wxRE_ADVANCED' was not declared in this scope
editormanager.cpp: In member function 'int EditorManager::Find(cbStyledTextCtrl*, cbFindReplaceData*)':
editormanager.cpp:2009: error: 'wxRE_ADVANCED' was not declared in this scope
editormanager.cpp:2011: error: 'wxRE_ADVANCED' was not declared in this scope
make[3]: *** [editormanager.lo] Error 1


On Ubuntu 6.10 with the latest wx development files.

What am I missing?

darthdespotism

#7
Seriously?
I've built the same Revision on Ubuntu 6.10 half an hour ago and it compiled without any errors (wx-common installed)

Did you use wxWidget2.8?
CodeBlocks actually requires 2.6, try using this version

stg

Quote from: line on April 15, 2007, 10:42:38 AM
Using the 13 apr build on win32. If I select text and press crtl-x (for cut), it removes the whole line instead of the selected portion.
Cut from the edit menu still works.

Had the same problem, too. Solved it by reassigning the shortcuts ...

pauliusz

Quote from: Gibbon on April 15, 2007, 12:26:10 PM
Latest SVN checkout:

p:~/codeBlocksSVN/trunk$ svn update
At revision 3858.


and I get this error message:

g++ -DHAVE_CONFIG_H -I. -I. -I../../src/include -I/usr/local/lib/wx/include/gtk2-ansi-release-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -I../../src/include -I../../src/include/wxscintilla/include -I../../src/include/tinyxml -I../../src/include/scripting/include -I../../src/include/scripting/sqplus -I../../src/include/wxFlatNotebook/include -I../../src/include/propgrid/include -Ulinux -Uunix -O2 -ffast-math -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT editormanager.lo -MD -MP -MF .deps/editormanager.Tpo -c editormanager.cpp  -fPIC -DPIC -o .libs/editormanager.o
editormanager.cpp: In member function 'int EditorManager::Replace(cbStyledTextCtrl*, cbFindReplaceData*)':
editormanager.cpp:1450: error: 'wxRE_ADVANCED' was not declared in this scope
editormanager.cpp:1452: error: 'wxRE_ADVANCED' was not declared in this scope
editormanager.cpp: In member function 'int EditorManager::ReplaceInFiles(cbFindReplaceData*)':
editormanager.cpp:1734: error: 'wxRE_ADVANCED' was not declared in this scope
editormanager.cpp:1736: error: 'wxRE_ADVANCED' was not declared in this scope
editormanager.cpp: In member function 'int EditorManager::Find(cbStyledTextCtrl*, cbFindReplaceData*)':
editormanager.cpp:2009: error: 'wxRE_ADVANCED' was not declared in this scope
editormanager.cpp:2011: error: 'wxRE_ADVANCED' was not declared in this scope
make[3]: *** [editormanager.lo] Error 1


On Ubuntu 6.10 with the latest wx development files.

What am I missing?


Currently I am discussing this problem in http://developer.berlios.de/bugs/?func=detailbug&bug_id=10881&group_id=5358

ctnd

Just thought I'd mention this because this "bug" has been present since the March 14th build. I wasn't sure what it was at first, but here's what I think. It tries to save a .temp file of the project .layout file, but if the file is only created when you close CodeBlocks  :?:, then the file hasn't been created yet if you've just created the project. So it's trying to copy a file that doesn't exist.

So I get this message box every so often:

Quote---------------------------
Codeblocks Error
---------------------------
Failed to copy the file 'C:\Documents and Settings\Chris\My Documents\collegework\Programming Concepts - Assignment 2\Game Programme\Game Programme.layout' to 'C:\Documents and Settings\Chris\My Documents\collegework\Programming Concepts - Assignment 2\Game Programme\Game Programme.layout.temp' (error 2: the system cannot find the file specified.)
---------------------------
OK   
---------------------------

The program continues to run, it's just a bit annoying when it pops up when you're coding. :mrgreen: Temporary fix is to close CB and open it and open the project again so that it saves a .layout file. :wink:

stahta01

Quote from: pauliusz on April 15, 2007, 12:49:27 PM
Quote from: Gibbon on April 15, 2007, 12:26:10 PM
Latest SVN checkout:

p:~/codeBlocksSVN/trunk$ svn update
At revision 3858.


and I get this error message:

g++ -DHAVE_CONFIG_H -I. -I. -I../../src/include -I/usr/local/lib/wx/include/gtk2-ansi-release-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -I../../src/include -I../../src/include/wxscintilla/include -I../../src/include/tinyxml -I../../src/include/scripting/include -I../../src/include/scripting/sqplus -I../../src/include/wxFlatNotebook/include -I../../src/include/propgrid/include -Ulinux -Uunix -O2 -ffast-math -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT editormanager.lo -MD -MP -MF .deps/editormanager.Tpo -c editormanager.cpp  -fPIC -DPIC -o .libs/editormanager.o
editormanager.cpp: In member function 'int EditorManager::Replace(cbStyledTextCtrl*, cbFindReplaceData*)':
editormanager.cpp:1450: error: 'wxRE_ADVANCED' was not declared in this scope
editormanager.cpp:1452: error: 'wxRE_ADVANCED' was not declared in this scope
editormanager.cpp: In member function 'int EditorManager::ReplaceInFiles(cbFindReplaceData*)':
editormanager.cpp:1734: error: 'wxRE_ADVANCED' was not declared in this scope
editormanager.cpp:1736: error: 'wxRE_ADVANCED' was not declared in this scope
editormanager.cpp: In member function 'int EditorManager::Find(cbStyledTextCtrl*, cbFindReplaceData*)':
editormanager.cpp:2009: error: 'wxRE_ADVANCED' was not declared in this scope
editormanager.cpp:2011: error: 'wxRE_ADVANCED' was not declared in this scope
make[3]: *** [editormanager.lo] Error 1


On Ubuntu 6.10 with the latest wx development files.

What am I missing?


Currently I am discussing this problem in http://developer.berlios.de/bugs/?func=detailbug&bug_id=10881&group_id=5358

Possible Quick Fix, needs tested.

Index: src/sdk/editormanager.cpp
===================================================================
--- src/sdk/editormanager.cpp (revision 3858)
+++ src/sdk/editormanager.cpp (working copy)
@@ -64,6 +64,9 @@

#include "wx/wxFlatNotebook/wxFlatNotebook.h"

+#ifndef wxHAS_REGEX_ADVANCED
+    #define wxRE_ADVANCED 0
+#endif

namespace compatibility { typedef TernaryCondTypedef<wxMinimumVersion<2,5>::eval, wxTreeItemIdValue, long int>::eval tree_cookie_t; };


C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

Suryavarman

Quote from: line on April 15, 2007, 10:42:38 AM
Using the 13 apr build on win32. If I select text and press crtl-x (for cut), it removes the whole line instead of the selected portion.
Cut from the edit menu still works.
me too
with ctrl+C

Gibbon

Quote from: stahta01 on April 15, 2007, 01:32:46 PM
Quote from: pauliusz on April 15, 2007, 12:49:27 PM
Quote from: Gibbon on April 15, 2007, 12:26:10 PM
Latest SVN checkout:


Possible Quick Fix, needs tested.

Index: src/sdk/editormanager.cpp
===================================================================
--- src/sdk/editormanager.cpp (revision 3858)
+++ src/sdk/editormanager.cpp (working copy)
@@ -64,6 +64,9 @@

#include "wx/wxFlatNotebook/wxFlatNotebook.h"

+#ifndef wxHAS_REGEX_ADVANCED
+    #define wxRE_ADVANCED 0
+#endif

namespace compatibility { typedef TernaryCondTypedef<wxMinimumVersion<2,5>::eval, wxTreeItemIdValue, long int>::eval tree_cookie_t; };





That worked.  Needed to compile without --enable-contrib.

Biplab

Quote from: Gandi on April 15, 2007, 04:39:02 PM
Quote from: line on April 15, 2007, 10:42:38 AM
Using the 13 apr build on win32. If I select text and press crtl-x (for cut), it removes the whole line instead of the selected portion.
Cut from the edit menu still works.
me too
with ctrl+C

Can't reproduce this problem. I'm using WinXP+SP2 and latest C::B Nightly.
Be a part of the solution, not a part of the problem.