Re: [cc65] When not to use fastcall?

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2004-11-18 14:35:46
On Wed, Nov 17, 2004 at 08:25:11AM -0800, Shawn Jefferson wrote:
> Is there ever a reason not to use fastcall, in a
> program?

Not many. Variadic functions, and functions without arguments cannot use
__fastcall__. If you depend on strict C standard compliance, standard
functions cannot use __fastcall__, because otherwise these functions cannot be
called without a prototype. cc65 ignores the latter for the sake of
performance.

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:35:49 2004

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