[Bug c++/14008] [3.4/3.5 Regression] Confusing diagnostic when ommitting a template parameter
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Feb 3 20:33:00 GMT 2004
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-02-03 20:33 -------
3.3.3 gives better diagnostic for the first case:
pr14008.cc:8: error: invalid use of template-name 'N::A' in a declarator
pr14008.cc:8: error: syntax error before `;' token
The second case is not a regression, it is accepted by 3.3.3.
Confirmed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-02-03 20:33:51
date| |
Summary|Confusing diagnostic when |[3.4/3.5 Regression]
|ommitting a template |Confusing diagnostic when
|parameter |ommitting a template
| |parameter
Target Milestone|--- |3.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14008
More information about the Gcc-bugs
mailing list