From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2003-02-02 22:21:31
Hi!
On Sun, Feb 02, 2003 at 09:13:38PM +0100, Carsten Strotmann wrote:
> On compile with cc65 2.9.0 I get
>
> rainbow.c(46): Internal compiler error:
> oursp != savsp (-2 != 0)
> Line: }
> cl65: Subprocess `cc65' aborted by signal 6
>
> Can anyone see what is wrong?
> Or is this a compiler problem?
"Internal compiler error" means it's a compiler problem. I've used this
message because it sounds more staid than "Uz has fucked things up" :-)
For a fix, replace line 2158 of expr.c which reads
flags = typeadjust (lval, &lval2, 0);
by
flags = typeadjust (lval, &lval2, 0) & ~CF_CONST;
or download the patch from the known bugs page. The solution is somewhat ugly
(it fixes the symptoms instead of the cause), but it's the best I can do at
the moment.
As a workaround, you may use the += operator.
Thanks for the bug report!
Regards
Uz
P.S.: There seems to be something weird with your mails to the list. I do
always get them with the 'New' flag reset and korn does not notify me when new
mail arrives. I never had this problem before and the first few times it
happened I thought it was my error, but it happens with each mail from you.
--
Ullrich von Bassewitz uz_at_musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
This archive was generated by hypermail 2.1.3 : 2003-02-02 22:22:18 CET