[cc65] sizeof error

From: Johan Kotlinski <kotlinski1gmail.com>
Date: 2012-04-14 22:23:25
Macintosh-2:tmp johank$ cat test.c
int main() {
    char foo = sizeof(foo);
    return foo;
}

Macintosh-2:tmp johank$ cc65 --version
cc65 V2.13.3
SVN version: unknown

Macintosh-2:tmp johank$ cc65 test.c
test.c(2): Error: Undefined symbol: `foo'
test.c(2): Error: Multiple definition for `foo'

Cheers,
Johan
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sat Apr 14 22:23:58 2012

This archive was generated by hypermail 2.1.8 : 2012-04-14 22:24:01 CEST