This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/19249] abstract classes should not access virtually inherited class constructor
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Jan 2005 03:08:10 -0000
- Subject: [Bug c++/19249] abstract classes should not access virtually inherited class constructor
- References: <20050104053610.19249.gianni@mariani.ws>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-14 03:08 -------
Quoting the standard again (the same passage which we all quoted):
"A mem-initializer naming a virtual base class shall be ignored during
execution of the constructor of any class that is not the most derived
class."
A mem-initializer is always implicated for base cases even if not named explicitly.
So this is still invalid code in my mind.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19249