[Bug c++/44906] g++ is giving error: parse error in template argument list
manu at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Oct 19 22:24:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44906
--- Comment #10 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2011-10-19 22:24:12 UTC ---
The problem seems to be the tentative parsing in cp_parse_template_id, which
tries every crazy thing it can, and when nothing works, it just gives this
catch all diagnostic.
But debugging the C++ parser is an absolute pain, I hope someone with more
patience takes a shot at this. The current diagnostic is just awful.
More information about the Gcc-bugs
mailing list