CVS head (gcc-3.4), problem with new parser?
Andrew Pollard
andrewp@andypo.net
Tue Dec 31 06:36:00 GMT 2002
>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.
Will do. Just glad for the confirmation that it was a bug and not me
misunderstanding something :-)
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