This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/16901] [3.4/3.5 regression] Broken warning about names from dependent bases after out-of-scope typedef
- From: "mmitchel at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Aug 2004 03:13:21 -0000
- Subject: [Bug c++/16901] [3.4/3.5 regression] Broken warning about names from dependent bases after out-of-scope typedef
- References: <20040806160026.16901.timb@bluearc.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From mmitchel at gcc dot gnu dot org 2004-08-18 03:13 -------
This warning was designed to fire in this case:
template <typename T> struct B {
class I {};
};
template <typename T> struct D : public B<T> {
friend class I; /* This is not B<T>::I */
}
However, it depended on the implicit-typename extension. We no longer do any
lookup in base classes at all, nor should we, just to get this warning.
Therefore, I'm closing this as WONTFIX.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WONTFIX
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16901