c++/9887: Syntax error on explicit member function template argument in function template body

Wolfgang Bangerth bangerth@ticam.utexas.edu
Mon Mar 3 19:42:00 GMT 2003


> > 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@ticam.utexas.edu
                              www: http://www.ticam.utexas.edu/~bangerth/





More information about the Gcc-bugs mailing list