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,5a84d5077c54a29d X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail NNTP-Posting-Date: Fri, 27 Jun 2008 13:13:45 -0500 From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: Ada array vs C pointer (call by reference) References: <5df91e99-a972-48f7-b466-3eb05dc0a915@m3g2000hsc.googlegroups.com> X-Newsreader: Tom's custom newsreader Message-ID: Date: Fri, 27 Jun 2008 13:13:45 -0500 X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 71.202.183.17 X-Trace: sv3-yIysMdPWlNn0fukVVABrbEyiZGY9CKgUab2LvEZy/BVrUrKCEn+7RxEN5KbLyl7mJYqTePyZCd4h8VW!o5c0cmjKYBXTbe3JrAzviAMqyUvrf49j2j153CAwiaXgeInBXabVSwdr0hXomuxrx8nTeh3Q5SSi!b/Z6x582B47+oOgxkBSoJjHjPVd6Lg== X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.39 Xref: g2news1.google.com comp.lang.ada:916 Date: 2008-06-27T13:13:45-05:00 List-Id: >Is there any implementation where Interfaces.C.int has different >properties than Integer? Yes. Janus Ada 95 Integer is 16 bits (for compatibility with older programs) but Interfaces.C.Int is 32 bits. Another reason to always define your own types (or at least subtypes, so you can change them). It's amazing to me how many programmers make unwarranted assumptions. In twenty years I suppose all young programmers will assume Integers must "of course" be 64 bits.