Re: undefined non-virtual thunk to ...
Re: undefined non-virtual thunk to ...
- Subject: Re: undefined non-virtual thunk to ...
- From: Thomas Engelmeier <email@hidden>
- Date: Sun, 21 Jan 2007 15:39:46 +0100 (MET)
On 26.12.2006, at 12:28, Denis Osadchy wrote:
Trying to compile project and linking my library I see several link
errors "undefined symbol: undefined non-virtual thunk to
Class::Member()". All members are from library.
[...]
Several letters in this list archive describe this problem but there
is no helpful answer. If you faced with such problem - write how it
can be resolved.
I faced it with openvrml.
it seems to be triggered by something gcc can compile but Apples
linker is unable to link (gcc is reported to link openvrml on Linux
and probable Windows and Solaris)
IIRC it was triggered by internal classes defined in a method and
handed as a callback - like
void foo::do_something()
{
struct my_callback : public callback_base
{
void do_it(){}
};
add_callback( my_callback );
}
HTH,
Tom_E
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden