Bug #19277 2014-02-05 19:03

fundawang

codeblocks 13.12 won't compile against wxwidgets 3.0

Making all in src
Making all in include
make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/codeblocks-13.12/src/include'
(CDPATH="${ZSH_VERSION+.}:" && cd ../.. && /bin/sh /home/iurt/rpmbuild/BUILD/codeblocks-13.12/missing --run autoheader)
rm -f stamp-h1
touch config.h.in
make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/codeblocks-13.12/src/include'
make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/codeblocks-13.12/src/include'
cd ../.. && /bin/sh ./config.status src/include/config.h
config.status: creating src/include/config.h
config.status: src/include/config.h is unchanged
make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/codeblocks-13.12/src/include'
make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/codeblocks-13.12/src/include'
rm -f ../../src/include/sdk_precomp.h.gch
g++ -DHAVE_CONFIG_H  -I/usr/lib/wx/include/ -I/usr/lib/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__  -I../../src/include -I../../src/sdk/wxscintilla/include -I../../src/include/tinyxml -I../../src/include/scripting/include -I../../src/include/scripting/sqplus -I../../src/include/mozilla_chardet -I../../src/include/mozilla_chardet/mfbt -I../../src/include/mozilla_chardet/nsprpub/pr/include -I../../src/include/mozilla_chardet/xpcom -I../../src/include/mozilla_chardet/xpcom/base -I../../src/include/mozilla_chardet/xpcom/glue -ansi -DTIXML_USE_STL  -O2 -ffast-math -DCB_AUTOCONF -O2 -g -pipe  -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables -fpermissive -fno-strict-aliasing -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -o ../../src/include/sdk_precomp.h.gch -xc++-header ./sdk_precomp.h
In file included from ./sdk_common.h:140:0,
                 from ./sdk_precomp.h:13:
./logmanager.h: In function 'wxString F(const wxChar*, ...)':
./logmanager.h:24:13: error: cannot convert 'const wxStringCharType* {aka const char*}' to 'const wxChar* {aka const wchar_t*}' in assignment
         msg = ::temp_string.wx_str();
Category
Compiler
Group
Platform:Linux
Status
Open
Close date
 
Assigned to
 
ollydbg 2014-02-28 06:35

Please build C::B against wx2.8.12. Even you can build it against wx3.0, there may still potential errors, until all those errors are fixed.

ID_63323 2014-04-29 05:13

Has there been any progress with regards to wx3.0 support in svn trunk, which I can backport and patch the codeblocks package in Debian+Ubuntu with (since Debian is currently migrating packages from wx2.8 to wx3.0, and is aiming to remove wx2.8 from the archive; see http://bugs.debian.org/744115)? Thanks!