• 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: C++: what could cause dynamic_cast<> to fail?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: C++: what could cause dynamic_cast<> to fail?


  • Subject: Re: C++: what could cause dynamic_cast<> to fail?
  • From: Dan Caugherty <email@hidden>
  • Date: Mon, 25 Jan 2010 22:28:48 -0500

Hello again --

Thanks to Jens and Kai for the tips. Unfortunately, these didn't seem to help. :/

I made sure all methods for my template classes were defined in files included only in the shared lib. I double-checked this by perusing the output of nm for vtable info in both the library and the test executable. The vtables for my instantiated value<> classes exist in the library and NOT in the executable, according to nm, and I have no problems linking.  But still dynamic_cast<> is failing the same way.

Are there other tests I can try? This is getting ridiculous.

Thanks in advance, again,
-- Dan C.

 _______________________________________________
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

  • Follow-Ups:
    • Re: C++: what could cause dynamic_cast<> to fail?
      • From: Jan Brittenson <email@hidden>
References: 
 >C++: what could cause dynamic_cast<> to fail? (From: Dan Caugherty <email@hidden>)
 >Re: C++: what could cause dynamic_cast<> to fail? (From: Jens Alfke <email@hidden>)
 >Re: C++: what could cause dynamic_cast<> to fail? (From: Kai Brüning <email@hidden>)

  • Prev by Date: Re: Where can $(inherited) be used?
  • Next by Date: what's with the admin privilege business
  • Previous by thread: Re: C++: what could cause dynamic_cast<> to fail?
  • Next by thread: Re: C++: what could cause dynamic_cast<> to fail?
  • Index(es):
    • Date
    • Thread