• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: undefined non-virtual thunk to ...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Are you sure you want to delete the targets?
  • Next by Date: Re: Are you sure you want to delete the targets?
  • Previous by thread: Re: Are you sure you want to delete the targets?
  • Next by thread: dyld
  • Index(es):
    • Date
    • Thread