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:
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
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44906
Paolo Carlini changed:
What|Removed |Added
Status|RESOLVED|REOPENED
Last reconfirmed|
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
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44906
Paolo Carlini changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
11 matches
Mail list logo