Compilation broken?

Zack Weinberg zack@codesourcery.com
Sat Dec 4 06:24:00 GMT 2004


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



More information about the Gcc-help mailing list