[Bug c++/32039] Using declaration accepts non-visible members from base classes

2021-05-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32039 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug c++/32039] Using declaration accepts non-visible members from base classes

2015-01-10 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32039 Ville Voutilainen ville.voutilainen at gmail dot com changed: What|Removed |Added Status|ASSIGNED

[Bug c++/32039] Using declaration accepts non-visible members from base classes

2015-01-10 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32039 Ville Voutilainen ville.voutilainen at gmail dot com changed: What|Removed |Added Status|RESOLVED

[Bug c++/32039] Using declaration accepts non-visible members from base classes

2015-01-10 Thread harald at gigawatt dot nl
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

[Bug c++/32039] Using declaration accepts non-visible members from base classes

2015-01-10 Thread ville.voutilainen at gmail dot com
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

[Bug c++/32039] Using declaration accepts non-visible members from base classes

2014-02-28 Thread fabien at gcc dot gnu.org
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

[Bug c++/32039] Using declaration accepts non-visible members from base classes

2014-02-28 Thread fabien at gcc dot gnu.org
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

[Bug c++/32039] Using declaration accepts non-visible members from base classes

2014-02-28 Thread fabien at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32039 fabien at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug c++/32039] Using declaration accepts non-visible members from base classes

2014-02-28 Thread harald at gigawatt dot nl
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

[Bug c++/32039] Using declaration accepts non-visible members from base classes

2014-02-28 Thread fabien at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32039 fabien at gcc dot gnu.org changed: What|Removed |Added Status|RESOLVED|ASSIGNED

[Bug c++/32039] Using declaration accepts non-visible members from base classes

2011-11-21 Thread fabien at gcc dot gnu.org
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|

[Bug c++/32039] Using declaration accepts non-visible members from base classes

2008-08-21 Thread gcc-bugzilla at contacts dot eelis dot net
--- 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