Re: [cc65] dummy questions...

Date view Thread view Subject view

From: Matt Ackeret (mattack_at_area.com)
Date: 2002-02-14 20:07:12


On Thu, 14 Feb 2002, Ullrich von Bassewitz wrote:
>> - just to make sure i got this right, the compiler DOES support
>> struct-assignment, but passing structs to functions and/or returning
>> them does NOT work - right?
>
>Yes. Returning structs from functions and passing structs by value would
>require larger changes to the compiler and is often not very useful (because
>of the copying overhead). But adding struct assignment was rather easy and is
>more useful than the other struct operations, so it was added.

I'm relatively new to this list.  I heard of this compiler, and am mostly
curious about having a C compiler that can output code for Apple IIs..
(actually I'm more interested in the lcc I heard about, to hopefully
produce Apple IIGS binaries..)

but anyway -- dumb question..

Could you at least make it so that attempts to do the above un-supported
things were COMPILER ERRORS, if they don't do it now?  I mean, instead of
generating bogus code, at least recognizing what it can't do, and stopping
compilation would be good.

----------------------------------------------------------------------
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-02-14 20:09:29 CET