c++/7440: parse error on valid C++ code (parse error before `&&' token)

Neil Booth neil@daikokuya.co.uk
Tue Jul 30 09:04:00 GMT 2002


gdr@gcc.gnu.org wrote:-

> Synopsis: parse error on valid C++ code (parse error before `&&' token)
> 
> Responsible-Changed-From-To: unassigned->gdr
> Responsible-Changed-By: gdr
> Responsible-Changed-When: Tue Jul 30 01:05:53 2002
> Responsible-Changed-Why:
>     Analyzed.
> State-Changed-From-To: open->closed
> State-Changed-By: gdr
> State-Changed-When: Tue Jul 30 01:05:53 2002
> State-Changed-Why:
>     Not a bug.

We really need to use CPP to print tokens, the diagnostic in this
case is awful,  and quite misleading.

Neil.



More information about the Gcc-bugs mailing list