This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/14008] [3.4/3.5 Regression] Confusing diagnostic when ommitting a template parameter
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Feb 2004 20:33:52 -0000
- Subject: [Bug c++/14008] [3.4/3.5 Regression] Confusing diagnostic when ommitting a template parameter
- References: <20040203202940.14008.reichelt@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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