This is the mail archive of the egcs@egcs.cygnus.com mailing list for the EGCS project. See the EGCS home page for more information.


[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]

Re: virtual inheritance: optimization for empty objects



On Mar  4, 1999, Alexander Schiemann <aschiem@count.math.uni-sb.de> wrote:

> deriving a class B from class A without adding a data-member
> does not increase the size.
> But with virtual inheritance egcs-1.1.1 does not take advantage
> of such a situation.

The latest snapshots will, if you compile with -fnew-abi.

-- 
Alexandre Oliva http://www.dcc.unicamp.br/~oliva aoliva@{acm.org,computer.org}
oliva@{dcc.unicamp.br,gnu.org,egcs.cygnus.com,samba.org}
Instituto de Computação, Universidade Estadual de Campinas, SP, Brasil