This is the mail archive of the gcc@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]

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


>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


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