CVS head (gcc-3.4), problem with new parser?

Andrew Pollard andrewp@andypo.net
Tue Dec 31 08:22:00 GMT 2002


Gabriel Dos Reis <gdr@integrable-solutions.net> replied:

>Andrew Pollard <andrewp@andypo.net> writes:
>
>[...]
>
>| int
>| main()
>| {
>| 	int a = 2;
>| 	A(a, a).foo();
>
>[...]
>
>| a.cxx:11: error: conflicting types for `A a'
>| a.cxx:10: error: previous declaration as `int a'
>
>This is a bug in the new parser.  Please fill a bug report.

Done. c++/9112.

Andrew.
--
 Andrew Pollard, Brooks-PRI Automation  | home: andrew@andypo.net
670 Eskdale Road, Winnersh Triangle, UK | work: Andrew.Pollard@brooks-pri.com
 Tel/Fax:+44 (0)118 9215603 / 9215660   | http://www.andypo.net



More information about the Gcc mailing list