[Bug c++/16901] [3.4/3.5 regression] Broken warning about names from dependent bases after out-of-scope typedef
mmitchel at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Aug 18 03:13:00 GMT 2004
------- 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
More information about the Gcc-bugs
mailing list