[Bug c++/18698] [3.4/4.0 regression] Error message using "using" for code not using "using" ;-)

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Jan 21 08:17:00 GMT 2005


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-21 08:16 -------
(In reply to comment #3)
> But it looks like GCC does not differentiate between them when reporting a bug.
s/bug/error/

A way to have GCC to differeentiate them is to add an argument to do_class_using_decl.
And pass that code in parser for "Access declaration" is for "Access declaration" and not for 
using-declaration.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18698



More information about the Gcc-bugs mailing list