Personally I interpret that as meaning it's expecting an ; where it found an
=, although my C-fu is not strong enough to know if an extern declaration
and an assignment are allowed in one statement, I only have my intuition
saying that's naughty. Maybe if the error said "';' expected, '=' found"
would be nicer. I know I frequently get sad when a code mangler says "error
on line x", and that line has several hairy bits on it.

Re: #tcc, I don't know of a better one, but I'll happily join.

2009/6/15 Ammar James <[email protected]>

> I get an error message of:
>
> wrong2.c:4: ';' expected
>
> when there clearly is a ';'. The code is, of course, incorrect, and so
> tcc correctly should not compile it, but the error itself is a bit
> misleading.
>
> The code is attached (5 lines).
>
>
>
> P.S. - Is there an IRC channel where alot of people who use tcc or tcc
> developers hang out? I tried #tcc on freenode but nobody seems to be
> there...
>
> Thanks.
>
> _______________________________________________
> Tinycc-devel mailing list
> [email protected]
> http://lists.nongnu.org/mailman/listinfo/tinycc-devel
>
>
_______________________________________________
Tinycc-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to