This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/15179] Bad error message
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Apr 2004 22:28:17 -0000
- Subject: [Bug c++/15179] Bad error message
- References: <20040427203034.15179.igodard@pacbell.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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