From: Martin Krischik <krischik@users.sourceforge.net>
To: gcc-help@gcc.gnu.org
Subject: Re: Gcc emit wrong symbols in multiple inheritance case
Date: Tue, 29 Jul 2008 14:30:00 -0000 [thread overview]
Message-ID: <20080729134844.s2dqoppl4wwgwkc4@server265-han.de-nserver.de> (raw)
In-Reply-To: <a47d5c0807282300q6f101abbx622a118b4252e1d7@mail.gmail.com>
Zitat von Bo Yang <techrazy.yang@gmail.com>:
> class DLL Child : public ChildA,
> public ChildB {
Independent of any GCC bug, non-virtual diamond inheritance is
considered is evil. Most likely you really want:
class DLL Child :
public virtual ChildA,
public virtual ChildB {
Regards
Martin
prev parent reply other threads:[~2008-07-29 11:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-29 10:12 Bo Yang
2008-07-29 14:30 ` Martin Krischik [this message]
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=20080729134844.s2dqoppl4wwgwkc4@server265-han.de-nserver.de \
--to=krischik@users.sourceforge.net \
--cc=gcc-help@gcc.gnu.org \
/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).