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

From: Spiro Trikaliotis <ml-cc651trikaliotis.net>
Date: 2005-11-30 21:17:53
Hello,

* On Wed, Nov 30, 2005 at 09:35:17AM +0100 Groepaz wrote:
> On Wednesday 30 November 2005 09:26, Spiro Trikaliotis wrote:

> > cc65 is a C89/C90 compiler, not a C99 compiler, but passing structs
> > as arguments is a C99 (or C++) feature.
> 
> oh...i thought passing structs by value is a "regular" c
> feature....i've never used it myself so i wouldnt know :=D

it seems I (again?) messed it up. Yes, struct parameters is a C89
feature, too. This was a misinformation from my site.

Perhaps I am always confused as I had started learning C with K&R?

Regards,
   Spiro.

-- 
Spiro R. Trikaliotis
http://www.trikaliotis.net/
http://cbm4win.sf.net/
----------------------------------------------------------------------
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 21:18:32 2005

This archive was generated by hypermail 2.1.8 : 2005-11-30 21:18:34 CET