[ scummvm-Bugs-2919303 ] GUI Tools: does not compile on MacOS X 10.6
SourceForge.net
noreply at sourceforge.net
Tue Dec 22 13:02:53 CET 2009
Bugs item #2919303, was opened at 2009-12-22 12:02
Message generated for change (Tracker Item Submitted) made by criezy
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=2919303&group_id=37116
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Compiler error
Group: Tools
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Thierry Crozat (criezy)
Assigned to: Nobody/Anonymous (nobody)
Summary: GUI Tools: does not compile on MacOS X 10.6
Initial Comment:
On MacOSX 10.6 (Snow Leopard) with gcc 4.2.1 (the default compiler) I get the following error during the compilation:
gui/main.cpp: In member function ‘void ScummToolsFrame::CreateMenuBar()’:
gui/main.cpp:238: error: no match for ‘operator=’ in ‘wxApp::s_macHelpMenuTitleName = "Help"’
/usr/include/wx-2.8/wx/string.h:676: note: candidates are: wxString& wxString::operator=(int) <near match>
/usr/include/wx-2.8/wx/string.h:953: note: wxString& wxString::operator=(const wxStringBase&)
/usr/include/wx-2.8/wx/string.h:956: note: wxString& wxString::operator=(wxChar) <near match>
/usr/include/wx-2.8/wx/string.h:964: note: wxString& wxString::operator=(const wxChar*)
/usr/include/wx-2.8/wx/string.h:970: note: wxString& wxString::operator=(const wxWCharBuffer&)
/usr/include/wx-2.8/wx/string.h:660: note: wxString& wxString::operator=(const wxString&)
Using the wxT() macro seems to work: wxApp::s_macHelpMenuTitleName = wxT("Help");
The same code (without the modification) compiles file on MacOS X 10.4 with gcc 4.0
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=2919303&group_id=37116
More information about the Scummvm-tracker
mailing list