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.3 required=5.0 tests=BAYES_00,FREEMAIL_FROM, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,39ade949adb6bf4 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Felix Krause Newsgroups: comp.lang.ada Subject: Re: StdCall and pragma Import_Function Date: Fri, 19 Aug 2011 10:38:26 -0700 (PDT) Organization: http://groups.google.com Message-ID: <02033047-713a-4e98-9f1b-26b7f9d24d60@glegroupsg2000goo.googlegroups.com> References: <332032a4-0acf-459d-a743-e90e823ca5af@glegroupsg2000goo.googlegroups.com> <118ybwhr53151$.fjqabmpo2k23$.dlg@40tude.net> <090a4db0-d67c-4dfe-9d67-24b2edc3b392@r40g2000prf.googlegroups.com> Reply-To: comp.lang.ada@googlegroups.com NNTP-Posting-Host: 92.203.29.36 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1313775506 6370 127.0.0.1 (19 Aug 2011 17:38:26 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 19 Aug 2011 17:38:26 +0000 (UTC) In-Reply-To: <090a4db0-d67c-4dfe-9d67-24b2edc3b392@r40g2000prf.googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=92.203.29.36; posting-account=sXebhAoAAACnuNgFPhYnsVyKMeBm3XmF User-Agent: G2/1.0 X-Google-Web-Client: true Xref: g2news1.google.com comp.lang.ada:20684 Date: 2011-08-19T10:38:26-07:00 List-Id: On Friday, August 19, 2011 7:26:01 PM UTC+2, Adam Beneschan wrote: > Out of > curiosity, Felix, what happens if you add a 62-bit "filler" field to > Bit_Vector, with 2..63 in the representation clause? Does that make > things work? No, it still gives a size of 4 bytes. Btw, I do get a warning that 56 bits are unused without the filler, so GNAT seems to get the size of the record right.