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,3332d83c4f455808 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail NNTP-Posting-Date: Mon, 13 Nov 2006 01:09:32 -0600 From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: How to use Annex G.3 Vectors and Matrices in bindings to C arrays References: X-Newsreader: Tom's custom newsreader Message-ID: Date: Mon, 13 Nov 2006 01:09:32 -0600 NNTP-Posting-Host: 67.164.83.70 X-Trace: sv3-Cu4+0GJ09c5OS8y6MEk7HY41RN3Va6Rvp0sg5HDgyTbVcITi+GCMN8VumvnEN9n/plUSh3VeVlCkUzz!ky0GtM25QJ6l156RW6yRxJwCSAKhi8XQhcxEJmFLJ3x/tgWRykkh1tFa0FM4tYHargCwu23W7Knt!XUJoMEx94q4ocA== 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.32 Xref: g2news2.google.com comp.lang.ada:7422 Date: 2006-11-13T01:09:32-06:00 List-Id: > > I wonder if I am incorrect in believing that the binding to C-arrays > > need aliased components. Like I said, the reason for that is a little > > fuzzy to me right now. But I do know that if I remove the aliased > > component requirement from Long_Float_Array_1D the binding will not > > compile. > > What is the error message that you get? Are you taking 'access of > components of such arrays? Pending the answer to that very logical question, I'd surmise his code is old and he needed to pass A(A'first)'access to C, ie, to pass a pointer to the first element in the array.