From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,6b93224dbe2bb55b X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.224.207.66 with SMTP id fx2mr6726697qab.7.1354582493946; Mon, 03 Dec 2012 16:54:53 -0800 (PST) Received: by 10.49.58.238 with SMTP id u14mr2615430qeq.13.1354582493920; Mon, 03 Dec 2012 16:54:53 -0800 (PST) Path: gf5ni47564750qab.0!nntp.google.com!c8no132596qao.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 3 Dec 2012 16:54:53 -0800 (PST) In-Reply-To: <523bdbf9-5a0f-446c-a1ea-92ce58a8fece@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=201.26.49.235; posting-account=TRgI1QoAAABSsYi-ox3Pi6N-JEKKU0cu NNTP-Posting-Host: 201.26.49.235 References: <3254b304-ed8b-4601-8a3c-ab3df74d84ad@googlegroups.com> <523bdbf9-5a0f-446c-a1ea-92ce58a8fece@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Return unconstrained types in ZFP From: "Rego, P." Injection-Date: Tue, 04 Dec 2012 00:54:53 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2012-12-03T16:54:53-08:00 List-Id: > Returning unconstrained objects from functions requires the so-called sec= ondary stack in GNAT. If you want to use it you need the files s-secsta.ad= (s|b) and s-stoele.ad(s|b). (Then you cannot call your run time system a "z= ero footprint" system anymore as the footprint is > 0) I took a look in these files, at first it would be a good try. But you made= a good point... if I were to use the secondary stack I could not call my r= ts a "zero footprint" (so I thought twice...) > The ATmega2560 is relatively big, you probably dont have to care. Uncons= trained arrays are nice syntax sugar. If you are short on RAM or flash (I = always am) you don't want to use that feature, however. Now I am not short of RAM and flash, but I'm sure I will be soon. You are r= ight.