This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/16901] [3.4/3.5 regression] Broken warning about names from dependent bases after out-of-scope typedef


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]