From: Marc Girod <girod@stybba.ntc.nokia.com>
To: Alexandre Oliva <oliva@dcc.unicamp.br>
Cc: egcs@egcs.cygnus.com
Subject: Re: virtual inheritance: optimization for empty objects
Date: Wed, 31 Mar 1999 23:46:00 -0000 [thread overview]
Message-ID: <1yk8wjdhf7.fsf@sinkku.ntc.nokia.com> (raw)
Message-ID: <19990331234600.aEJnWBQWYjePNV45X_tUAMaZvRYIp6wBoG4mZaYftik@z> (raw)
In-Reply-To: <nms.mail.egcs/orn21tueds.fsf@araguaia.dcc.unicamp.br>
>>>>> "AO" == Alexandre Oliva <oliva@dcc.unicamp.br> writes:
AO> 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.
AO> The latest snapshots will, if you compile with -fnew-abi.
I am very interested, but trying with a small example on 19990314, I get:
sizeof> c++ -o foo -fnew-abi foo.C
foo.C: In function `int main()':
foo.C:36: `cout' undeclared in namespace `std'
foo.C:46: `endl' undeclared in namespace `std'
I used std::cout and std::endl. I works without -fnew-abi.
I guess I need to rebuild the libstdc++, or what exactly should I
rebuild?... Are there instructions?
Best Regards!
Marc
--
Marc Girod Hiomo 5/1 Voice: +358-9-511 23746
Nokia Telecommunications P.O. Box 320 Mobile: +358-40-569 7954
NWS/NMS/NMS for Data 00045 NOKIA Group Fax: +358-9-511 23580
Finland marc.girod@ntc.nokia.com
next parent reply other threads:[~1999-03-31 23:46 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <nms.mail.egcs/199903042105.WAA19132@count.math.uni-sb.de>
[not found] ` <nms.mail.egcs/orn21tueds.fsf@araguaia.dcc.unicamp.br>
1999-03-14 11:01 ` Marc Girod [this message]
1999-03-14 11:15 ` Alexandre Oliva
[not found] ` < orlngz3n0r.fsf@dcc.unicamp.br >
1999-03-15 3:44 ` F. Heitkamp
[not found] ` < 199903151145.GAA14544@pc1.fred.org >
1999-03-15 16:07 ` Martin v. Loewis
1999-03-31 23:46 ` Martin v. Loewis
1999-03-31 23:46 ` F. Heitkamp
1999-03-31 23:46 ` Alexandre Oliva
[not found] ` < 1yk8wjdhf7.fsf@sinkku.ntc.nokia.com >
1999-03-14 11:45 ` Joe Buck
1999-03-31 23:46 ` Joe Buck
1999-03-14 11:52 ` Martin v. Loewis
1999-03-31 23:46 ` Martin v. Loewis
1999-03-31 23:46 ` Marc Girod
[not found] <199903042105.WAA19132.cygnus.egcs@count.math.uni-sb.de>
1999-03-06 17:09 ` Jason Merrill
1999-03-31 23:46 ` Jason Merrill
1999-03-04 13:05 Alexander Schiemann
1999-03-04 13:39 ` Alexandre Oliva
1999-03-31 23:46 ` Alexandre Oliva
1999-03-31 23:46 ` Alexander Schiemann
-- strict thread matches above, loose matches on Subject: below --
1999-03-04 12:56 Alexander Schiemann
1999-03-31 23:46 ` Alexander Schiemann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1yk8wjdhf7.fsf@sinkku.ntc.nokia.com \
--to=girod@stybba.ntc.nokia.com \
--cc=egcs@egcs.cygnus.com \
--cc=oliva@dcc.unicamp.br \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).