Re: [cc65] sizeof error

From: Ullrich von Bassewitz <>
Date: 2012-04-15 23:36:51
Good evening!

On Sat, Apr 14, 2012 at 10:23:25PM +0200, Johan Kotlinski wrote:
> Macintosh-2:tmp johank$ cc65 test.c
> test.c(2): Error: Undefined symbol: `foo'
> test.c(2): Error: Multiple definition for `foo'

Yes, that is a bug. Local variables are entered into the symbol table only
after the full initialization has been parsed, which is wrong. I will fix
that. Thanks a lot for the report!



Ullrich von Bassewitz                        
To unsubscribe from the list send mail to with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sun Apr 15 23:37:05 2012

This archive was generated by hypermail 2.1.8 : 2012-04-15 23:37:09 CEST