Virtual table contents

Eugene Kuznetsov divx@euro.ru
Wed Dec 20 10:24:00 GMT 2000


Hello Jason,

Tuesday, December 19, 2000, 9:11:39 AM, you wrote:

>>>>>> "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.

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

Yes, that sounds exactly like what I want. It's a pity that this
feature is not available in egcs 2.91.66. Thank you.

-- 
Best regards,
 Eugene                            mailto:divx@euro.ru




More information about the Gcc mailing list