[Bug c++/44906] g++ is giving error: parse error in template argument list

2021-08-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44906 Andrew Pinski changed: What|Removed |Added Status|REOPENED|NEW Last reconfirmed|2011-09-23 00:00:

[Bug c++/44906] g++ is giving error: parse error in template argument list

2011-10-19 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44906 --- Comment #10 from Manuel López-Ibáñez 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. B

[Bug c++/44906] g++ is giving error: parse error in template argument list while using a c++ code.

2011-09-23 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44906 Paolo Carlini changed: What|Removed |Added Status|RESOLVED|REOPENED Last reconfirmed|

[Bug c++/44906] g++ is giving error: parse error in template argument list while using a c++ code.

2011-09-23 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44906 --- Comment #8 from Manuel López-Ibáñez 2011-09-23 13:59:07 UTC --- (In reply to comment #6) > Honestly, nothing similar will happen any time soon, it means changing > completely the semantics of templates. Maybe we can produce a better > diagnos

[Bug c++/44906] g++ is giving error: parse error in template argument list while using a c++ code.

2011-09-23 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44906 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug c++/44906] g++ is giving error: parse error in template argument list while using a c++ code.

2010-07-10 Thread paolo dot carlini at oracle dot com
--- Comment #6 from paolo dot carlini at oracle dot com 2010-07-10 22:19 --- Honestly, nothing similar will happen any time soon, it means changing completely the semantics of templates. Maybe we can produce a better diagnostics, let's add Manuel in CC to hear his opinion... -- paol

[Bug c++/44906] g++ is giving error: parse error in template argument list while using a c++ code.

2010-07-10 Thread raychaudhuri_amitava at yahoo dot com
--- Comment #5 from raychaudhuri_amitava at yahoo dot com 2010-07-10 18:45 --- (In reply to comment #4) > The error message is not clear. The issue is that you are not using a > constant > expression for a template arugment. Template arguments are either constant > expressions or typ

[Bug c++/44906] g++ is giving error: parse error in template argument list while using a c++ code.

2010-07-10 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2010-07-10 17:46 --- The error message is not clear. The issue is that you are not using a constant expression for a template arugment. Template arguments are either constant expressions or types. -- http://gcc.gnu.org/bugzilla/sh

[Bug c++/44906] g++ is giving error: parse error in template argument list while using a c++ code.

2010-07-10 Thread raychaudhuri_amitava at yahoo dot com
--- Comment #3 from raychaudhuri_amitava at yahoo dot com 2010-07-10 15:45 --- Created an attachment (id=21178) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21178&action=view) .ii file generated by -save-temps -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44906

[Bug c++/44906] g++ is giving error: parse error in template argument list while using a c++ code.

2010-07-10 Thread raychaudhuri_amitava at yahoo dot com
--- Comment #2 from raychaudhuri_amitava at yahoo dot com 2010-07-10 15:44 --- Created an attachment (id=21177) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21177&action=view) .s file generated by -save-temps -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44906

[Bug c++/44906] g++ is giving error: parse error in template argument list while using a c++ code.

2010-07-10 Thread raychaudhuri_amitava at yahoo dot com
--- Comment #1 from raychaudhuri_amitava at yahoo dot com 2010-07-10 15:44 --- Created an attachment (id=21176) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21176&action=view) Code which is failing. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44906