This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]