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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,a0f2b8cad0d0f971 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-10-26 19:12:19 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!newsfeed.direct.ca!look.ca!newshub2.rdc1.sfba.home.com!news.home.com!news1.sttln1.wa.home.com.POSTED!not-for-mail From: "DuckE" Newsgroups: comp.lang.ada References: <9rbsln$6m6$1@inf6serv.rug.ac.be> Subject: Re: problem with usage of aliased X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Message-ID: <6KoC7.5355$sR2.1282984@news1.sttln1.wa.home.com> Date: Sat, 27 Oct 2001 02:12:18 GMT NNTP-Posting-Host: 24.248.45.203 X-Complaints-To: abuse@home.net X-Trace: news1.sttln1.wa.home.com 1004148738 24.248.45.203 (Fri, 26 Oct 2001 19:12:18 PDT) NNTP-Posting-Date: Fri, 26 Oct 2001 19:12:18 PDT Organization: Excite@Home - The Leader in Broadband http://home.com/faster Xref: archiver1.google.com comp.lang.ada:15295 Date: 2001-10-27T02:12:18+00:00 List-Id: Or rather: 'Unchecked_Access (sans typo). SteveD "Ted Dennison" wrote in message news:DYeC7.1509$xS6.2118@www.newsranger.com... > In article <9rbsln$6m6$1@inf6serv.rug.ac.be>, Stijn Rammeloo says... > >While writing an interface package for file-manipulation routines I get > >following error with gnat: ..."non-local pointer cannot point to local > >object." > .. > >side effects assumed). b) I'm 100% sure I cannot get a dangling pointer. So > >my question pops down to this: How can I tell an ada compiler/gnat to stop > >nagging in this particular case :-) > > Use 'Uchecked_Access instead of 'Access. That's what its for. > > --- > T.E.D. homepage - http://www.telepath.com/dennison/Ted/TED.html > > No trees were killed in the sending of this message. > However a large number of electrons were terribly inconvenienced.