[cc65] OT: Compile Problem

From: Johan Kotlinski <kotlinski1gmail.com>
Date: 2006-06-06 16:31:04
> > I can't seem to figure out what the problem is. Does anyone have any
> > suggestions?
>
> As Karri said, in C89 declarations must be at the beginning of a block. If you
> move the second declaration up, the code will work.

Sorry for the off topic, but why was it like this from the beginning?

I have thought and looked a lot for information, but can't find
anything about it. My guess is that it was for technical reasons, when
building the compiler. Anyone knows?

Feel free to answer off-list...

Johan
-- 
http://www.rebelpetset.com
http://www.littlesounddj.com
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Tue Jun 6 16:31:15 2006

This archive was generated by hypermail 2.1.8 : 2006-06-06 16:31:18 CEST