comp.lang.ada
 help / color / mirror / Atom feed
From: NiGHTS <nights@unku.us>
Subject: Re: Error: "non-local pointer cannot point to a local object"
Date: Wed, 12 Sep 2018 07:42:13 -0700 (PDT)
Date: 2018-09-12T07:42:13-07:00	[thread overview]
Message-ID: <22acbd7a-f95f-463a-9312-bc3f3c8476f9@googlegroups.com> (raw)
In-Reply-To: <5ce558e3-54ba-4cea-80d0-590cd6abfcde@googlegroups.com>

On Wednesday, September 12, 2018 at 2:05:08 AM UTC-4, rakusu...@fastmail.jp wrote:
> For Access attribute compiler checks if the object itself will live as long as an access to it for preventing "dangling reference". For situations when you take control over pointers in your hands, you must use the Unchecked_Access attribute. See ARM95 13.10 for details.
> 
> P.S.: Sorry for google translate.

Yes, I had forgotten about that attribute. That could also work for me. Thank you.

  reply	other threads:[~2018-09-12 14:42 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-11 22:20 Error: "non-local pointer cannot point to a local object" NiGHTS
2018-09-12  1:49 ` Brad Moore
2018-09-12 14:41   ` NiGHTS
2018-09-12  6:05 ` rakusu_klein
2018-09-12 14:42   ` NiGHTS [this message]
2018-09-12  7:26 ` Dmitry A. Kazakov
2018-09-12 14:47   ` NiGHTS
2018-09-12 15:22     ` Dmitry A. Kazakov
replies disabled

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