wxWidgets30 libraries oddities

Joshua Root jmr at macports.org
Sun Jul 28 01:22:39 PDT 2013

On 2013-7-28 02:39 , Vincent Habchi wrote:
> Hi there,
> When I build wxWidgets30, I get these, e.g. in libwx_osx_cocoau_html:
> Air > nm /opt/local/lib/libwx_osx_cocoau_html-2.9.dylib | c++filt | grep SetHTMLWindowTitle
> 000000000004284a T wxHtmlWindow::SetHTMLWindowTitle(wxString const&)
> 0000000000063250 T wxHtmlListBox::SetHTMLWindowTitle(wxString const&)
> 000000000004285c T non-virtual thunk to wxHtmlWindow::SetHTMLWindowTitle(wxString const&)
> 0000000000063256 T non-virtual thunk to wxHtmlListBox::SetHTMLWindowTitle(wxString const&)
> Those “non-virtual thunks” then give rise to errors when one tries to link against the missing functions, e.g.:
>   "non-virtual thunk to wxHtmlWindow::SetHTMLWindowTitle(wxString const&)", referenced from:
>       vtable for CACTIVE_Description in active_description.o
>       vtable for CACTIVE_HTMLExtraInfo in active_HTMLExtraInfo.o
> Since I am totally ignorant of the arcanes of C++, can someone tell me if this a bug or an expected behavior under appropriate conditions?

The non-virtual thunks are an implementation detail:

A missing symbol for one probably means a class forgot to implement a
virtual method?

- Josh

More information about the macports-dev mailing list