This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/20313] poor diagnostic
- From: "manu at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Jun 2010 00:13:17 -0000
- Subject: [Bug c++/20313] poor diagnostic
- References: <bug-20313-6594@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from manu at gcc dot gnu dot org 2010-06-06 00:13 -------
This testcase does show PR99 but that is not what this PR is about. The
diagnostics of GCC would be clearer if it said:
/home/manuel/pr20313.C:10:30: error: invalid use of incomplete type ?struct
s<>?
/home/manuel/pr20313.C:5:22: note: ?struct s<>? declared here
What do you think Ivan?
--
manu at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |manu at gcc dot gnu dot org
Status|RESOLVED |REOPENED
Resolution|DUPLICATE |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20313