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,86f62fb0f98ad93e X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews.google.com!h28g2000yqd.googlegroups.com!not-for-mail From: Warren Newsgroups: comp.lang.ada Subject: Re: Passing Ada Proc as a C Function Pointer Date: Thu, 5 Aug 2010 08:37:26 -0700 (PDT) Organization: http://groups.google.com Message-ID: <45573613-9738-4606-95f5-0103670a34e9@h28g2000yqd.googlegroups.com> References: 60b8a494-fed1-4e0f-ba27-a2b7070d5818@k19g2000yqc.googlegroups.com <7002cc94-5207-4b8d-8686-f8b262bfdef0@d17g2000yqb.googlegroups.com> NNTP-Posting-Host: 216.121.235.102 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1281022646 11168 127.0.0.1 (5 Aug 2010 15:37:26 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 5 Aug 2010 15:37:26 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: h28g2000yqd.googlegroups.com; posting-host=216.121.235.102; posting-account=ENgozAkAAACH-stq5yXctoDQeZQP2E6J User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8 ( .NET CLR 3.5.30729),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:12882 Date: 2010-08-05T08:37:26-07:00 List-Id: On Aug 5, 10:31=A0am, Warren wrote: > On Aug 5, 3:33=A0am, Rolf wrote: .. > When I compile the above, I get the complaint: > > avr_threads.ads:58:33: size for "C_Context_Type" too small, minimum > allowed is 112 > > 112 bytes - yikers! =A0How do I get this right? > > Warren Arg!!!! Arg!!!! I keep thinking in terms of bytes - not BITS!! No wonder! Warren