Re: [cc65] bug report: pass-by-value of structs destroys stack

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2005-11-30 09:43:21
On Wed, Nov 30, 2005 at 09:26:53AM +0100, Spiro Trikaliotis wrote:
> cc65 is a C89/C90 compiler, not a C99 compiler, but passing structs as
> arguments is a C99 (or C++) feature.

As far as I know (I just have the C99 standard here), C89 supports passing and
returning structs. It is K&R that doesn't support either.

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 Wed Nov 30 09:43:37 2005

This archive was generated by hypermail 2.1.8 : 2005-11-30 09:43:39 CET