comp.lang.ada
 help / color / mirror / Atom feed
From: Pascal Ledru <Ledru#m#_Pascal@MSMAIL3.HAC.COM>
Subject: Re: Gnat3.05 Compile Error Msg
Date: 1996/08/22
Date: 1996-08-22T00:00:00+00:00	[thread overview]
Message-ID: <321C833D.2CC7@MSMAIL3.HAC.COM> (raw)
In-Reply-To: 4vbuvu$jh5@Masala.CC.UH.EDU


This is a legitimate error message.

Suppose you declare a global variable (I) before your Rec type 
(Assume Rec and Get_Int_Ptr are in a declare block), and add the
assignment I := R.B'Access before the return statement; then I 
could be used even if you are outside the scopy of R.B'Access.

If you are pretty sure you don't have this accessibility problem,
Unchecked_Access instead of Access should work.




      reply	other threads:[~1996-08-22  0:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-08-20  0:00 Gnat3.05 Compile Error Msg Spasmo
1996-08-22  0:00 ` Pascal Ledru [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