[cc65] Re: -Cl error?

From: Johan Kotlinski <kotlinski1gmail.com>
Date: 2009-10-22 01:31:00
Another thing that seems broken with -Cl...

void main() {
    const char foo[3] = { 1, 2, 3 };
}

...makes { 1, 2, 3 } static, but puts foo on the stack.

Johan

On Thu, Oct 22, 2009 at 12:06 AM, Johan Kotlinski <kotlinski@gmail.com> wrote:
> void main() {
>    char foo[] = { 0 };
> }
>
> ...gives "test.c(2): Error: Variable `foo' has unknown size" using -Cl.
>
> Is it really unknown?
>
> cc65 V2.13.0, SVN version: 4384
>
> Cheers,
> Johan
> ---
> 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 Thu Oct 22 01:31:27 2009

This archive was generated by hypermail 2.1.8 : 2009-10-22 01:31:29 CEST