First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 161083
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Luca Barbato <lu_zero@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: S. Richards <imeinstein@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
wxmain.patch Small patch which fixes the problem. patch bob127 2007-07-27 17:13 0000 472 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 161083 depends on: Show dependency tree
Show dependency graph
Bug 161083 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-01-09 07:58 0000
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

------- Comment #1 From bob127 2007-07-27 17:13:50 0000 -------
Created an attachment (id=126166) [edit]
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.

------- Comment #2 From Luca Barbato 2007-07-27 17:55:49 0000 -------
I fixed the unicode patch, thank you

First Last Prev Next    No search results available      Search page      Enter new bug