This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/20313] poor diagnostic
- 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: 4 Mar 2005 14:51:27 -0000
- Subject: [Bug c++/20313] poor diagnostic
- References: <20050304092504.20313.igodard@pacbell.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-04 14:51 -------
The only poor diagnostic is that in the following code:
template<int> struct s;
template<int i> s<i>::s(int j) {}
We don't print out s<i> but print out s<<anonymous> > which really is the same problem as the
following too:
template<int j> struct s;
template<int i> s<i>::s(int j) {}
So this is a dup of bug 99.
*** This bug has been marked as a duplicate of 99 ***
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20313