Re: [cc65] Stack problems with several segments.

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2004-11-18 14:17:57
On Wed, Nov 17, 2004 at 12:19:00PM +0200, Karri Kaksonen wrote:
> I don't really know what happened, but after I changed all defines to the
> same style my problems went away.

Especially when using functions that take characters as arguments, you will
need to use prototypes. This is for performance reasons: without a prototype,
characters are pushed as integers, otherwise they're pushed as chars.  So you
should take the warning "function call without a prototype" really serious.
Please note that old style K&R functions declarations aren't prototypes!

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 Nov 18 14:18:00 2004

This archive was generated by hypermail 2.1.8 : 2004-11-18 14:18:10 CET