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: Compilation broken?


At Sat, 04 Dec 2004 06:28:15 +0100,
Sam Lauber wrote:
> 
> I was copying some programming out of a programming book I
> have. When I compiled it with GCC 3.4.3, it said:
> 
> dcl.c:5: error: two or more data types in declaration of `tkntype'
> 
> The code at line 5 was:
> 
> int tkntype;
> 
> It was the first variable declared in the entire thing.

Please show lines 1-4 of the program.

> I consider this a bug. It isn't a regression. On my 3.4.0, 3.3.3,
> and 1.3.6, it gave me the same error. I copyed it exactly out of my
> book.

I don't know any version of GCC numbered 1.3.6.

This question is more appropriate for gcc-help; redirected.

zw


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