Re: [cc65] internal compiler error

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2004-09-23 19:44:21
On Sun, Sep 12, 2004 at 04:58:00AM +0200, Groepaz wrote:
> #include <stdlib.h>
>
> char test[10]={"test"};
>
> int main(void)
> {
> 	printf("\n>%s<\n",test);
> }
>
>
> groepaz@groepaz:~/Desktop/MooglyGuy> cl65 main.c -o test.prg
> main.c(4): Warning: Converting pointer to integer without a cast
> main.c(4): Internal compiler error:
> Unknown constant type: 0x0040
> Line: char test[10]={"test"};
> cl65: Subprocess `cc65' aborted by signal 6
> groepaz@groepaz:~/Desktop/MooglyGuy> cc65 --version
> cc65 V2.10.5 (note: snapshot from a few days ago)
> cc65: No input files

Should be fixed in the development sources. The major changes of the
expression representation where the cause for problem, which is the reason why
this works in 2.10.1.

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz@musoftware.de
----------------------------------------------------------------------
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 Sep 23 19:44:26 2004

This archive was generated by hypermail 2.1.8 : 2004-09-23 19:44:35 CEST