comp.lang.ada
 help / color / mirror / Atom feed
From: Ted Dennison<dennison@telepath.com>
Subject: Re: problem with usage of aliased
Date: Fri, 26 Oct 2001 15:05:07 GMT
Date: 2001-10-26T15:05:07+00:00	[thread overview]
Message-ID: <DYeC7.1509$xS6.2118@www.newsranger.com> (raw)
In-Reply-To: 9rbsln$6m6$1@inf6serv.rug.ac.be

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-26 15:05 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 [this message]
2001-10-27  2:12   ` DuckE
replies disabled

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