Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 56550

Summary: bochs-2.1.1 compile error with 'wx' USE set on gcc34-amd64-2004.1
Product: Gentoo Linux Reporter: Luke-Jr <luke-jr+gentoobugs>
Component: New packagesAssignee: Luca Barbato <lu_zero>
Status: VERIFIED FIXED    
Severity: major    
Priority: High    
Version: 2004.1   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Luke-Jr 2004-07-09 10:08:17 UTC
Also note that 'wx' isn't mentioned in IUSE like it should be, either...


 g++ -c -I.. -I./.. -I../iodev -I./../iodev -I../instrument/stubs -I./../instrument/stubs -O2 -march=k8 -pipe -fomit-frame-pointer -fweb -ftracer -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/X11R6/include -I/usr/include/SDL -D_REENTRANT -I/usr/lib/wx/include/gtk2u-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include wxmain.cc  -fPIC -DPIC -o .libs/wxmain.o
wx.cc: In member function `void MyPanel::ToggleMouse(bool)':
wx.cc:187: error: conversion from `const char[234]' to `wxString' is ambiguous
/usr/include/wx/string.h:306: note: candidates are: wxString::wxString(wxChar, size_t) <near match>
/usr/include/wx/string.h:284: note:                 wxString::wxString(int) <near match>
wx.cc:188: error: conversion from `const char[22]' to `const wxString' is ambiguous
/usr/include/wx/string.h:306: note: candidates are: wxString::wxString(wxChar, size_t) <near match>
/usr/include/wx/string.h:284: note:                 wxString::wxString(int) <near match>
wx.cc: In member function `virtual int bx_wx_gui_c::set_clipboard_text(char*, Bit32u)':
wx.cc:1547: error: call of overloaded `wxString(char*&, Bit32u&)' is ambiguous
/usr/include/wx/string.h:825: note: candidates are: wxString::wxString(const void*, const void*) <near match>
/usr/include/wx/string.h:306: note:                 wxString::wxString(wxChar, size_t) <near match>
make[1]: *** [wx.lo] Error 1
Comment 1 Luca Barbato gentoo-dev 2004-07-10 10:15:32 UTC
you have enabled unicode support in wxGTK that seems still broken
reemerge wxGTK w/out that useflag.
Comment 2 Luca Barbato gentoo-dev 2004-07-10 10:36:40 UTC
fixing the missing wx
Comment 3 Luca Barbato gentoo-dev 2004-09-23 05:54:08 UTC
Should be fixed now, please reopen if isn't
Comment 4 Luke-Jr 2004-09-23 09:27:20 UTC
Nope, same problem.
Comment 5 Luca Barbato gentoo-dev 2004-09-23 12:26:29 UTC
did you emerge wxwidget w/out the unicode flag?
wx is reported to be BROKEN in that case.
Comment 6 Luke-Jr 2004-09-23 16:04:39 UTC
Sorry, misunderstood the comment. Yes, it works w/o unicode wxGTK
Comment 7 Luca Barbato gentoo-dev 2004-09-23 16:18:38 UTC
I made it use the wxwidgets.eclass now should work correctly nevertheless.