On Monday 23 July 2007, German Gonzalez wrote: > I have some doubts about the compiler, for example from an old C code > I have several local variables just too loop an array > > int i; > for(i=0; i<5; i++){} > > in different functions, but I got an error "too many local variables" > then I use the -Cl to make local variables static. The size of (dynamic) local variables is limited to 256 bytes. I don't think the index variables are the culprit here unless you have more than 128 of them in a function. ;-) Ciao, Marc 'BlackJack' Rintsch -- “In Britain, it seems that all the attention in recent years has been on the evils of Mad Cow – with little or no heed paid to the Mad Men! Just because you don't eat the Mad Men is no reason to ignore the serious safety issue here.” -- Michael Moore, “Stupid White Men” ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.
This archive was generated by hypermail 2.1.8 : 2007-07-23 22:18:55 CEST