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: "giovannibajo at libero dot it" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Feb 2004 16:55:53 -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 giovannibajo at libero dot it 2004-02-05 16:55 -------
Fixed in 3.5.0.
It looks like the only 3.4 regression is the wrong message about the using
declaration. The point is that the parser thinks that N::A is an access-
declaration and in fact then expectes a ";" before "a". Now, if I changed the
wording to something like:
error: access-declaration for non-member "N::A" at class scope.
would it be still a regression? Of course it's much inferior than what we get
in 3.5.0, but it would be a non-intrusive patch.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14008