https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32039
Richard Biener changed:
What|Removed |Added
Status|NEW |ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32039
Ville Voutilainen ville.voutilainen at gmail dot com changed:
What|Removed |Added
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32039
Ville Voutilainen ville.voutilainen at gmail dot com changed:
What|Removed |Added
Status|RESOLVED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32039
--- Comment #8 from Harald van Dijk harald at gigawatt dot nl ---
(In reply to Ville Voutilainen from comment #7)
This is invalid. [namespace.udecl]/3 says that if the declaration names
a constructor, the nested-name-specifier shall name a
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32039
--- Comment #10 from Ville Voutilainen ville.voutilainen at gmail dot com ---
Ok, this is
http://open-std.org/JTC1/SC22/WG21/docs/cwg_closed.html#1960
which says
The rule was introduced because the hiding of a base class member by an
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32039
--- Comment #2 from fabien at gcc dot gnu.org ---
(In reply to Andrew Stubbs from comment #0)
The problem should be that B::foo hides A::foo from class C. Clause 7.3.3/14
of the C++ standard says the using declaration should not work, in this
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32039
--- Comment #3 from fabien at gcc dot gnu.org ---
(In reply to Eelis from comment #1)
Still accepted by 4.4. Comeau concurs with reporter, and rejects saying:
line 15: error: class member designated by a
using-declaration must be
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32039
fabien at gcc dot gnu.org changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32039
Harald van Dijk harald at gigawatt dot nl changed:
What|Removed |Added
CC||harald at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32039
fabien at gcc dot gnu.org changed:
What|Removed |Added
Status|RESOLVED|ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32039
fabien at gcc dot gnu.org changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed|
--- Comment #1 from gcc-bugzilla at contacts dot eelis dot net 2008-08-21
12:00 ---
Still accepted by 4.4. Comeau concurs with reporter, and rejects saying:
line 15: error: class member designated by a
using-declaration must be visible in a direct base class
--
gcc-bugzilla
12 matches
Mail list logo