This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/44906] g++ is giving error: parse error in template argument list
- From: "manu at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 19 Oct 2011 22:24:12 +0000
- Subject: [Bug c++/44906] g++ is giving error: parse error in template argument list
- Auto-submitted: auto-generated
- References: <bug-44906-4@http.gcc.gnu.org/bugzilla/>
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.