https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19249
Andrew Pinski changed:
What|Removed |Added
See Also||https://gcc.gnu.org/bugzill
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19249
Andrew Pinski changed:
What|Removed |Added
Known to fail||
--- Comment #10 from Andrew Pinski ---
--- Comment #9 from jens dot maurer at gmx dot net 2006-11-04 15:44 ---
I would like to point out that C++ std ore issue 257 "Abstract base
constructors and virtual base initialization" (see
http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#257) deals with
this very issue. I h
--- Comment #8 from jens dot maurer at gmx dot net 2006-11-04 15:34 ---
*** Bug 29706 has been marked as a duplicate of this bug. ***
--
jens dot maurer at gmx dot net changed:
What|Removed |Added
---
--- Additional Comments From bangerth at dealii dot org 2005-07-23 20:04
---
I think we should accept this as an enhancement request.
W.
--
What|Removed |Added
--
What|Removed |Added
Keywords||rejects-valid
Known to fail||3.3.4 3.4.0 3.4.1 3.4.2
|
--- Additional Comments From gianni at mariani dot ws 2005-01-14 06:47
---
> Quoting the standard again (the same passage which we all quoted):
James Kanze added a comment in this bug - I'll quote it here:
> The context of the quote from the standard is:
> "If the constructor of the m
--- 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 derive
--- Additional Comments From gianni at mariani dot ws 2005-01-14 03:00
---
I request that we reopen this bug in light of some further discussions.
From: comp.lang.c++.moderated :
Sender: [EMAIL PROTECTED]
After reading your code and the discussion in the comp.std.c++ thread:
http://
--- Additional Comments From jkanze at cheuvreux dot com 2005-01-05 14:29
---
The context of the quote from the standard is:
"If the constructor of the most derived class does not
specify a mem-initializer for the virtual base class
V ...". In the code submitted, the constructor of the
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-04
09:14 ---
Bss, this is invalid and not because the standard only says he constructor is
ignored.
12.6.2P6:
"If V does not have an accessible default constructor, the initialization is
ill-formed. A mem-initializer
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-04
05:42 ---
Note the comeau C++ compiler also rejects the code:
"ComeauTest.c", line 9: error: "controller::controller()" is inaccessible
: virtual public controller
^
detected during
12 matches
Mail list logo