[GCC-XML] Offsets of base classes

Petri Rehtonen petri.rehtonen at vega.fi
Fri Mar 31 01:31:02 EST 2006


Brad King wrote:
> I've committed it in CVS:
> 
> /cvsroot/GCC_XML/gccxml/GCC/gcc/cp/../../../GCC_XML/xml.c,v  <--  xml.c
> new revision: 1.108; previous revision: 1.107

Thank you Brad. It works wonders :-)

> I left off the multiplication by 8.  According to the documentation of
> BINFO_OFFSET the offset is in bytes.  Since other sizes and offsets are
> stored in bytes and the smallest base object offset increment is 1 byte
> anyway there is no reason to convert to bits.

Yes, you are right.

-- 
Petri Rehtonen



More information about the gccxml mailing list