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.


-- Gaby


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