There seems to be an error in the unicode patch which places an extra ')' in wxmain.cc. x86_64-pc-linux-gnu-g++ -c -I.. -I./.. -I../iodev -I./../iodev -I../instrument/stubs -I./../instrument/stubs -O2 -pipe -march=nocona -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/lib64/wx/include/gtk2-ansi-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include wxdialog.cc -fPIC -DPIC -o .libs/wxdialog.o wxmain.cc: In member function 'void MyFrame::DebugCommand(const char*)': wxmain.cc:854: error: no match for 'operator+' in 'wxLogDebug(((const char*)"storing debugger command \'")) + wxString(((const wxChar*)tmp), ((wxMBConv&)(&((wxMBConvUTF8*)wxConvUTF8)->wxMBConvUTF8::<anonymous>)), wxStringBase::npos)' /usr/include/wx-2.6/wx/longlong.h:932: note: candidates are: wxULongLong operator+(long unsigned int, const wxULongLong&) /usr/include/wx-2.6/wx/longlong.h:919: note: wxLongLong operator+(long int, const wxLongLong&) /usr/include/wx-2.6/wx/string.h:1486: note: wxString operator+(const wxCharBuffer&, const wxString&) /usr/include/wx-2.6/wx/string.h:1484: note: wxString operator+(const wxString&, const wxCharBuffer&) /usr/include/wx-2.6/wx/string.h:943: note: wxString operator+(const wxChar*, const wxString&) /usr/include/wx-2.6/wx/string.h:941: note: wxString operator+(const wxString&, const wxChar*) /usr/include/wx-2.6/wx/string.h:939: note: wxString operator+(wxChar, const wxString&) /usr/include/wx-2.6/wx/string.h:937: note: wxString operator+(const wxString&, wxChar) /usr/include/wx-2.6/wx/string.h:935: note: wxString operator+(const wxString&, const wxString&) wxmain.cc:854: error: expected `;' before ')' token make[1]: *** [wxmain.lo] Error 1
Created attachment 126166 [details, diff] Small patch which fixes the problem. This fixes a small typo in wxmain.cc which prevents it from being compiled. Usage: Apply with patch -p0 < wxmain.patch while in the source directory.
I fixed the unicode patch, thank you