c++/9887: Syntax error on explicit member function template argument in function template body
Martin Sebor
sebor@roguewave.com
Mon Mar 3 19:14:00 GMT 2003
Wolfgang Bangerth wrote:
...
>>I wonder how difficult it would be to
>>enhance the parser to detect this (along with the missing typename)
>>as a special case and give a better error message.
>
>
> 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.
Martin
More information about the Gcc-bugs
mailing list