• 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: Tiger Build Warnings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tiger Build Warnings


  • Subject: Re: Tiger Build Warnings
  • From: Herbie Robinson <email@hidden>
  • Date: Thu, 23 Jun 2005 21:23:09 -0400

At 10:28 AM -0700 6/23/05, Steve Checkoway wrote:
The virtual destructor has to be in the vtable somewhere. COM expects a specific vtable layout, with the methods in a predictable order and without extra vtable slots between an interface's methods and those of a derived interface. Adding a virtual destructor inserts such a slot, and furthermore does it in a compiler-specific place, so in COM it is verboten.

How can it expect a particular vtable layout? It seems to me that that could change with a different compiler version. Also, depending on the vtable layout seems like a bad idea but I guess for binary compatibility, there isn't much one can do.

Exactly. The COM interfaces should be coded in C if COM expects a particular format. Isn't that why IOKit objects are done that way?
--
-*****************************************
** http://www.curbside-recording.com/ **
******************************************
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
References: 
 >Tiger Build Warnings (From: "Mark's Studio" <email@hidden>)
 >Re: Tiger Build Warnings (From: Jeff Moore <email@hidden>)
 >Re: Tiger Build Warnings (From: Ben Cox <email@hidden>)
 >Re: Tiger Build Warnings (From: Jeff Moore <email@hidden>)
 >Re: Tiger Build Warnings (From: Richard Dobson <email@hidden>)
 >Re: Tiger Build Warnings (From: Ben Cox <email@hidden>)
 >Re: Tiger Build Warnings (From: Steve Checkoway <email@hidden>)
 >Re: Tiger Build Warnings (From: Ben Cox <email@hidden>)
 >Re: Tiger Build Warnings (From: Steve Checkoway <email@hidden>)

  • Prev by Date: Re: Acquiring input Data
  • Next by Date: Re: Tiger Build Warnings
  • Previous by thread: Re: Tiger Build Warnings
  • Next by thread: Re: Tiger Build Warnings
  • Index(es):
    • Date
    • Thread