Greetings,
I'm trying to build with gcc version 4.1.2 20080704 (Red Hat 4.1.2-50), Target: x86_64-redhat-linux, starting from codeblocks-10.05-src.tar.bz2 and a freshly installed wxWidgets 2.9.1. I'm getting the following error:
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../../../src/include -I/wrk2/projects/lib/wxWidgets/lib/wx/include/gtk2-unicode-2.9 -I/wrk2/projects/lib/wxWidgets/include/wx-2.9 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I../../../../src/include -I../../../../src/sdk/wxscintilla/include -I../../../../src/include/scripting/include -I../../../../src/include/scripting/bindings -I../../../../src/include/scripting/sqplus -Ulinux -Uunix -O2 -ffast-math -DCB_AUTOCONF -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT sc_util_dialogs.lo -MD -MP -MF .deps/sc_util_dialogs.Tpo -c sc_util_dialogs.cpp -fPIC -DPIC -o .libs/sc_util_dialogs.o
../../../../src/include/editarrayorderdlg.h:20: error: default argument for parameter of type const wxArrayString& has type long int
make[4]: *** [sc_util_dialogs.lo] Error 1
make[4]: Leaving directory `/wrk2/projects/codeblocks/src/sdk/scripting/bindings'
etc...
Indeed the offending line is:
EditArrayOrderDlg(wxWindow* parent, const wxArrayString& array = 0L);
Did there used to be an implicit conversion for a long int to a wxArrayString, because I don't see one now. The complete constructor list is:
wxArrayString() { }
wxArrayString(const wxArrayString& a) : wxArrayStringBase(a) { }
wxArrayString(size_t sz, const char** a);
wxArrayString(size_t sz, const wchar_t** a);
wxArrayString(size_t sz, const wxString* a);
-efp