Bug #16702 2010-01-23 02:37

ybzhao

Three bugs of codeblocks(svn rev 6098)

I compile codeblocks (svn rev 6098) on openSUSE11.2.

compile with:

automake (GNU automake) 1.11

aclocal (GNU automake) 1.11

autoconf (GNU Autoconf) 2.63

autoheader (GNU Autoconf) 2.63

gcc version 4.4.1 [gcc-4_4-branch revision 150839] (SUSE Linux)

wxWidget2.8.10 configured with gtk

bug detail:

I configured codeblocks using "./configure --with-contrib-plugins=all"

file: trunk/src/sdk/filemanager.cpp

In the function(line:312-446) bool FileManager::WriteWxStringToFile(wxFile& f, const wxString& data, wxFontEncoding encoding, bool bom),I think everwhere use function wxMBConv::cWC2MB,the first parmeter of it should be data.wc_str(conv) not data.c_str().Otherwise the compiler may generate an error about function matching.

and I think the Makefile in dir trunk/src/plugins/contrib/HexEditor lost "-DwxUSE_UNICODE=1" in CXXFLAGS

without -DwxUSE_UNICODE=1 the compiler may generate an error:class wxKeyEvent has no member named getUnicodeKey.

and when my wxWidgets is configured with x11 or motif(not gtk)(drag and drop is disabled),the compiler may generate an error about a drag function.

Category
Compiler
Group
 
Status
Open
Close date
 
Assigned to