[Bug c++/19366] New: [4.0 Regression] Excessive duplicate error messages trying to treat '>>' as '> >'
lerdsuwa at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Jan 10 16:13:00 GMT 2005
Compiling the testcase g++.dg/template/error10.C produces
too many duplicate error messages about missing '>'.
The error location contains invalid token '>>' that should
be replaced with '> >'.
error10.C:12: error: '>>' should be '> >' within a nested template argument list
error10.C:13: error: spurious '>>', use '>' to terminate a template argument list
error10.C:57: error: a call to a constructor cannot appear in a constant-expression
error10.C:57: error: template argument 1 is invalid
error10.C:57: error: invalid type in declaration before ';' token
error10.C:69: error: missing '>' to terminate the template argument list
error10.C:69: error: template argument 1 is invalid
error10.C:69: error: missing '>' to terminate the template argument list
error10.C:69: error: template argument 1 is invalid
error10.C:69: error: missing '>' to terminate the template argument list
error10.C:69: error: template argument 1 is invalid
error10.C:69: error: missing '>' to terminate the template argument list
...
--
Summary: [4.0 Regression] Excessive duplicate error messages
trying to treat '>>' as '> >'
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Keywords: diagnostic
Severity: minor
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: lerdsuwa at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19366
More information about the Gcc-bugs
mailing list