comp.lang.ada
 help / color / mirror / Atom feed
From: rakusu_klein@fastmail.jp
Subject: Re: Error: "non-local pointer cannot point to a local object"
Date: Tue, 11 Sep 2018 23:05:06 -0700 (PDT)
Date: 2018-09-11T23:05:06-07:00	[thread overview]
Message-ID: <5ce558e3-54ba-4cea-80d0-590cd6abfcde@googlegroups.com> (raw)
In-Reply-To: <7a6b1ae7-f142-458d-ab01-c36c8ed30659@googlegroups.com>

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.


  parent reply	other threads:[~2018-09-12  6:05 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 [this message]
2018-09-12 14:42   ` NiGHTS
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