Virtual table contents

Jason Merrill jason@redhat.com
Tue Dec 19 07:14:00 GMT 2000


>>>>> "Mike" == Mike Stump <mrs@windriver.com> writes:

>> Date: Mon, 18 Dec 2000 14:23:55 -0600
>> To: gcc@gcc.gnu.org
>> From: Eugene Kuznetsov<divx@euro.ru>

>> Is there an universal way ( i.e. the way that would be acceptable
>> for all compilers since egcs 2.91 and higher ) to tell compiler NOT
>> to use these two positions and to start function pointers
>> immediately from 1st position? Or such a way only for some specific
>> versions of compilers?

> No.

Well, there's __attribute__ ((com_interface)).  And the new ABI will always
start from the 1st position (the RTTI stuff will be at negative offsets).

Jason


More information about the Gcc mailing list