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,386bb25b61f8f5b X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!b28g2000cwb.googlegroups.com!not-for-mail From: "REH" Newsgroups: comp.lang.ada Subject: Re: aliased and parameters Date: 31 Jul 2006 12:26:16 -0700 Organization: http://groups.google.com Message-ID: <1154373975.951370.77770@b28g2000cwb.googlegroups.com> References: <1154369116.867649.278950@m73g2000cwd.googlegroups.com> <1154372565.780568.165840@p79g2000cwp.googlegroups.com> <1154373046.777655.292010@m79g2000cwm.googlegroups.com> NNTP-Posting-Host: 192.35.35.35 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1154373987 3286 127.0.0.1 (31 Jul 2006 19:26:27 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 31 Jul 2006 19:26:27 +0000 (UTC) In-Reply-To: <1154373046.777655.292010@m79g2000cwm.googlegroups.com> User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: b28g2000cwb.googlegroups.com; posting-host=192.35.35.35; posting-account=lnUIyw0AAACoRB2fMF2SFTIilm8F10q2 Xref: g2news2.google.com comp.lang.ada:6037 Date: 2006-07-31T12:26:16-07:00 List-Id: randomm@mindless.com wrote: > X-No-Archive: Yes > > > Thanks Jeff. recv is the standard POSIX (or BSD) socket receive > > function. It takes a pointer. Yes, I could use an array (as I could > > still map it to a C pointer). The problem with this is I either have > > to move the data from its "normal" type into the array (excessive data > > movement) or I have to map the array over top of my data (which gets us > > right back to using 'Address). > > > > REH > > What about using pragma volatile(Hdr)? If I understand correctly, it > may be the answer here. See RM95 C.6. > > Regards, > Randall Great! Can I use that on a subprogram parameter. Like this? procedure Foo(X : out Integer) is pragma Volatile(X); begin ... REH