Re: [cc65] still more k&r

Date view Thread view Subject view

From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2002-12-29 22:32:09


Hi!

On Sun, Dec 29, 2002 at 12:36:54PM -0500, Greg King wrote:
> At least you get an assembly file -- it crashes the compiler on my system!

Yup, that's one thing it can do.

> However, removing the explicit function-indirection seems to avoid that bug:
> At two places [in append() and blkio()], a function is called
> through a pointer.  Delete the asterisks in those expressions.
> Then, you should get a good assembly.

And that's a correct workaround. The redundant dereference operator was not
ignored on function pointers leading to rather unexpected results.

Should be fixed now, either use the new snapshot (in a few minutes) or the
patch from the "Known Bugs" web page.

Regards


        Uz


-- 
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.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2002-12-29 22:32:19 CET