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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,235855e3822c83d1 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.195.165 with SMTP id if5mr4248330pbc.1.1336933241227; Sun, 13 May 2012 11:20:41 -0700 (PDT) Path: pr3ni21992pbb.0!nntp.google.com!news2.google.com!goblin1!goblin.stu.neva.ru!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Importing C function with variable argument list Date: Sun, 13 May 2012 19:20:38 +0100 Organization: A noiseless patient Spider Message-ID: References: <610ee323-4c7f-413d-8568-aed4955f5152@z38g2000vbu.googlegroups.com> <1288794.275.1334249936588.JavaMail.geo-discussion-forums@ynlp2> <696103.1385.1336076109161.JavaMail.geo-discussion-forums@vbez18> <3eduq7lqvgmp2ui5kt1k5pgk2oopvo9o31@4ax.com> Mime-Version: 1.0 Injection-Info: mx04.eternal-september.org; posting-host="Pd4gCuG8QV/d3K7tc8x0Wg"; logging-data="31345"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+grkaNbIl2UyAHSMnPmrXYxKhgwC81Blw=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (darwin) Cancel-Lock: sha1:Fac3fkoRoaPeYasC+xLbW4Jvijk= sha1:vf6dM48X9SurhBcRwL9AkE+dVU0= Content-Type: text/plain; charset=us-ascii Date: 2012-05-13T19:20:38+01:00 List-Id: Jeffrey Carter writes: > On 05/13/2012 02:03 AM, Simon Wright wrote: >> >> And for Ada, Integer'Size is 32. > > No, it's not. What I originally wrote was >> On Mac OS X (definitely Lion, probably all) C uses i386/limits.h for >> both i386 and x86_64. So it's 32-bit ints for both. >> >> And for Ada, Integer'Size is 32. and although it is certainly true that there is nothing in the ARM that says that Integer'Size should be 32 the fact is that *on Mac OS X Lion* it very definitely is. Also on Debian 6 amd64. Now, the size of an 'access Integer' is 64 on both.