<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>161083</bug_id>
          
          <creation_ts>2007-01-09 07:58 0000</creation_ts>
          <short_desc>app-emulation/bochs-2.2.6 fails to compile with wxGTK:  expected `;&apos; before &apos;)&apos; token</short_desc>
          <delta_ts>2007-07-27 17:55:49 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>imeinstein@gmail.com</reporter>
          <assigned_to>lu_zero@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>imeinstein@gmail.com</who>
            <bug_when>2007-01-09 07:58:27 0000</bug_when>
            <thetext>There seems to be an error in the unicode patch which places an extra &apos;)&apos; 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 &apos;void MyFrame::DebugCommand(const char*)&apos;:
wxmain.cc:854: error: no match for &apos;operator+&apos; in &apos;wxLogDebug(((const char*)&quot;storing debugger command \&apos;&quot;)) + wxString(((const wxChar*)tmp), ((wxMBConv&amp;)(&amp;((wxMBConvUTF8*)wxConvUTF8)-&gt;wxMBConvUTF8::&lt;anonymous&gt;)), wxStringBase::npos)&apos;
/usr/include/wx-2.6/wx/longlong.h:932: note: candidates are: wxULongLong operator+(long unsigned int, const wxULongLong&amp;)
/usr/include/wx-2.6/wx/longlong.h:919: note:                 wxLongLong operator+(long int, const wxLongLong&amp;)
/usr/include/wx-2.6/wx/string.h:1486: note:                 wxString operator+(const wxCharBuffer&amp;, const wxString&amp;)
/usr/include/wx-2.6/wx/string.h:1484: note:                 wxString operator+(const wxString&amp;, const wxCharBuffer&amp;)
/usr/include/wx-2.6/wx/string.h:943: note:                 wxString operator+(const wxChar*, const wxString&amp;)
/usr/include/wx-2.6/wx/string.h:941: note:                 wxString operator+(const wxString&amp;, const wxChar*)
/usr/include/wx-2.6/wx/string.h:939: note:                 wxString operator+(wxChar, const wxString&amp;)
/usr/include/wx-2.6/wx/string.h:937: note:                 wxString operator+(const wxString&amp;, wxChar)
/usr/include/wx-2.6/wx/string.h:935: note:                 wxString operator+(const wxString&amp;, const wxString&amp;)
wxmain.cc:854: error: expected `;&apos; before &apos;)&apos; token
make[1]: *** [wxmain.lo] Error 1</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>evilbob127@gmail.com</who>
            <bug_when>2007-07-27 17:13:50 0000</bug_when>
            <thetext>Created an attachment (id=126166)
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 &lt; wxmain.patch while in the source directory.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lu_zero@gentoo.org</who>
            <bug_when>2007-07-27 17:55:49 0000</bug_when>
            <thetext>I fixed the unicode patch, thank you</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>126166</attachid>
            <date>2007-07-27 17:13 0000</date>
            <desc>Small patch which fixes the problem.</desc>
            <filename>wxmain.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGd1aS93eG1haW4uY2Mub2xkCTIwMDctMDctMjcgMTk6MDA6MTMuMDAwMDAwMDAwICswMDAw
CisrKyBndWkvd3htYWluLmNjCTIwMDctMDctMjcgMTk6MDU6NTAuMDAwMDAwMDAwICswMDAwCkBA
IC04NTAsOCArODUwLDggQEAKICAgICBkZWJ1Z0NvbW1hbmRFdmVudCA9IE5VTEw7CiAgIH0gZWxz
ZSB7CiAgICAgLy8gc3RvcmUgdGhpcyBjb21tYW5kIGluIGRlYnVnQ29tbWFuZCBmb3IgdGhlIGZ1
dHVyZQotICAgIHd4TG9nRGVidWcgKHd4VCgic3RvcmluZyBkZWJ1Z2dlciBjb21tYW5kICciKSkg
KwotICAgICAgd3hTdHJpbmcodG1wLCB3eENvbnZVVEY4KSArIHd4VCgiJyIpKTsKKyAgICB3eExv
Z0RlYnVnICh3eFN0cmluZyh3eFQoInN0b3JpbmcgZGVidWdnZXIgY29tbWFuZCAnIikpICsgCisJ
CXd4U3RyaW5nKHRtcCwgd3hDb252VVRGOCkgKyB3eFQoIiciKSk7CiAgICAgZGVidWdDb21tYW5k
ID0gdG1wOwogICB9CiB9Cg==
</data>        

          </attachment>
    </bug>

</bugzilla>