This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/9887: Syntax error on explicit member function templateargument in function template body
- From: Wolfgang Bangerth <bangerth at ticam dot utexas dot edu>
- To: Martin Sebor <sebor at roguewave dot com>
- Cc: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 3 Mar 2003 13:42:39 -0600 (CST)
- Subject: Re: c++/9887: Syntax error on explicit member function templateargument in function template body
> > Unfortunately, I can't comment on this, having no knowledge of the
> > compiler itself. It would certainly be nice to have this - in general, it
> > seems to me as if the error messages the new parser generates are
> > not very helpful in a lot of cases. I have kept open several bug reports
> > for this, but that would need work by those knowledgable of the parser.
>
> It might perhaps be worthwhile to create a single enhancement request
> for those working on the parser instead of keeping a number of bug
> reports open, especially if the bug reports are in reality just user
> errors.
I think whenever I came across one like these, I changed the synopsis of
the PR to say that this is actually a problem with the error message, and
pointed out the reason why I kept open the report. I did this for cases
where the error message is significantly less helpful than for previous
releases, which I considered a regression, thus setting the priority to
"high". Briefly searching gnats turns up PRs 9851, 9801, 9440 (there might
be more).
I think that all these cases have different origins, so pooling them into
one report might not be the best thing to do. I'd already be happy if
someone took care of just one or two of them.
W.
-------------------------------------------------------------------------
Wolfgang Bangerth email: bangerth at ticam dot utexas dot edu
www: http://www.ticam.utexas.edu/~bangerth/