Thread: [gbd-dev] wxGubed compile error - SuSE 9.2
Status: Beta
Brought to you by:
mccabe
From: Geoff H. <ge...@gw...> - 2005-03-08 10:09:44
|
wxGubed won't compile on my SuSE 9.2 linux system - see below... I have wx 2.5.2.8-3 Any clues? Geoff frmGubed.cpp:82: error: invalid static_cast from type `void (frmGubed::*)(wxCommandEvent&)' to type `void (wxEvtHandler::*)(wxScrollEvent&)' frmGubed.cpp: In member function `void frmGubed::OnWatchKeyDown(wxTreeEvent&)': frmGubed.cpp:143: error: no matching function for call to `wxTreeCtrl:: GetParent(wxTreeItemId)' /usr/include/wx-2.5/wx/window.h:538: error: candidates are: wxWindow* wxWindowBase::GetParent() const frmGubed.cpp:150: error: no matching function for call to `wxTreeCtrl:: GetParent(wxTreeItemId)' /usr/include/wx-2.5/wx/window.h:538: error: candidates are: wxWindow* wxWindowBase::GetParent() const frmGubed.cpp: In member function `void frmGubed::DeleteOldWatches(wxTreeItemId) ': frmGubed.cpp:567: warning: `GetFirstChild' is deprecated (declared at /usr/include/wx-2.5/wx/generic/treectlg.h:368) frmGubed.cpp: In member function `void frmGubed::ShowBacktrace(const wxString&) ': frmGubed.cpp:608: warning: `GetFirstChild' is deprecated (declared at /usr/include/wx-2.5/wx/generic/treectlg.h:368) make[2]: *** [frmGubed.o] Error 1 |
From: Linus M. <Li...@mc...> - 2005-03-08 21:28:11
|
Hello! Don't remember if I've compiled it with 2.5 before. Ill give it a try and let you know... /Linus On Tuesday 08 March 2005 11.09, Geoff Horn wrote: > wxGubed won't compile on my SuSE 9.2 linux system - see below... > > I have wx 2.5.2.8-3 > > Any clues? > > Geoff > > frmGubed.cpp:82: error: invalid static_cast from type `void > (frmGubed::*)(wxCommandEvent&)' to type `void > (wxEvtHandler::*)(wxScrollEvent&)' > frmGubed.cpp: In member function `void > frmGubed::OnWatchKeyDown(wxTreeEvent&)': > frmGubed.cpp:143: error: no matching function for call to `wxTreeCtrl:: > GetParent(wxTreeItemId)' > /usr/include/wx-2.5/wx/window.h:538: error: candidates are: wxWindow* > wxWindowBase::GetParent() const > frmGubed.cpp:150: error: no matching function for call to `wxTreeCtrl:: > GetParent(wxTreeItemId)' > /usr/include/wx-2.5/wx/window.h:538: error: candidates are: wxWindow* > wxWindowBase::GetParent() const > frmGubed.cpp: In member function `void > frmGubed::DeleteOldWatches(wxTreeItemId) > ': > frmGubed.cpp:567: warning: `GetFirstChild' is deprecated (declared at > /usr/include/wx-2.5/wx/generic/treectlg.h:368) > frmGubed.cpp: In member function `void frmGubed::ShowBacktrace(const > wxString&) > ': > frmGubed.cpp:608: warning: `GetFirstChild' is deprecated (declared at > /usr/include/wx-2.5/wx/generic/treectlg.h:368) > make[2]: *** [frmGubed.o] Error 1 > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Gubed-devel mailing list > Gub...@li... > https://lists.sourceforge.net/lists/listinfo/gubed-devel |
From: Linus M. <Li...@mc...> - 2005-03-09 05:58:45
Attachments:
2.5diff.diff
|
Hello again I had to fix a few minor things to get it to compile in 2.5. Diff is attached if you're interested, otherwise I'd suggest getting the latest sources from CVS. cheers /Linus On Tuesday 08 March 2005 11.09, Geoff Horn wrote: > wxGubed won't compile on my SuSE 9.2 linux system - see below... > > I have wx 2.5.2.8-3 > > Any clues? > > Geoff > > frmGubed.cpp:82: error: invalid static_cast from type `void > (frmGubed::*)(wxCommandEvent&)' to type `void > (wxEvtHandler::*)(wxScrollEvent&)' > frmGubed.cpp: In member function `void > frmGubed::OnWatchKeyDown(wxTreeEvent&)': > frmGubed.cpp:143: error: no matching function for call to `wxTreeCtrl:: > GetParent(wxTreeItemId)' > /usr/include/wx-2.5/wx/window.h:538: error: candidates are: wxWindow* > wxWindowBase::GetParent() const > frmGubed.cpp:150: error: no matching function for call to `wxTreeCtrl:: > GetParent(wxTreeItemId)' > /usr/include/wx-2.5/wx/window.h:538: error: candidates are: wxWindow* > wxWindowBase::GetParent() const > frmGubed.cpp: In member function `void > frmGubed::DeleteOldWatches(wxTreeItemId) > ': > frmGubed.cpp:567: warning: `GetFirstChild' is deprecated (declared at > /usr/include/wx-2.5/wx/generic/treectlg.h:368) > frmGubed.cpp: In member function `void frmGubed::ShowBacktrace(const > wxString&) > ': > frmGubed.cpp:608: warning: `GetFirstChild' is deprecated (declared at > /usr/include/wx-2.5/wx/generic/treectlg.h:368) > make[2]: *** [frmGubed.o] Error 1 > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Gubed-devel mailing list > Gub...@li... > https://lists.sourceforge.net/lists/listinfo/gubed-devel |