[Bug c++/14008] [3.4/3.5 Regression] Confusing diagnostic when ommitting a template parameter

giovannibajo at libero dot it gcc-bugzilla@gcc.gnu.org
Thu Feb 5 16:55:00 GMT 2004


------- 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



More information about the Gcc-bugs mailing list