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++/15179] Bad error message


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-04-27 22:28 -------
Confirmed after looking at the code again I think this is valid as iterator is an inner class 
and Type is just the outter class, reduced testcase:
template<class E>
class Powerset {
 typedef Powerset<E> Type;
 typedef int difference_type;
  class iterator
  {
    typedef Type::difference_type  difference_type;
  };
};


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|diagnostic                  |rejects-valid
   Last reconfirmed|0000-00-00 00:00:00         |2004-04-27 22:28:17
               date|                            |
   Target Milestone|3.4.0                       |---
            Version|3.3.3                       |3.4.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15179


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