comp.lang.ada
 help / color / mirror / Atom feed
From: "DuckE" <nospam_steved94@home.com>
Subject: Re: problem with usage of aliased
Date: Sat, 27 Oct 2001 02:12:18 GMT
Date: 2001-10-27T02:12:18+00:00	[thread overview]
Message-ID: <6KoC7.5355$sR2.1282984@news1.sttln1.wa.home.com> (raw)
In-Reply-To: DYeC7.1509$xS6.2118@www.newsranger.com

Or rather:
  'Unchecked_Access

(sans typo).

SteveD

"Ted Dennison" <dennison@telepath.com> 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.





      reply	other threads:[~2001-10-27  2:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-26 14:47 problem with usage of aliased Stijn Rammeloo
2001-10-26 15:05 ` Ted Dennison
2001-10-27  2:12   ` DuckE [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox