comp.lang.ada
 help / color / mirror / Atom feed
From: gautier_niouzes@hotmail.com
Subject: Re: non-local pointer cannot point to local object
Date: Sat, 24 Feb 2018 00:13:57 -0800 (PST)
Date: 2018-02-24T00:13:57-08:00	[thread overview]
Message-ID: <4881e682-113c-4e30-9178-f0f2c91ee8bc@googlegroups.com> (raw)
In-Reply-To: <p6on6m$8so$1@dont-email.me>

Le vendredi 23 février 2018 10:34:16 UTC+1, J-P. Rosen a écrit :
> What counts for accessibility is the place where the type of the object
> is declared, not where the object itself is declared.

Then, wouldn't be a message like:

  "pointer of non-local type cannot point to local object"

more helpful than

  "non-local pointer cannot point to local object"

?
(I remember having been puzzled by the same thing long time ago...)

G.

  reply	other threads:[~2018-02-24  8:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-23  8:54 non-local pointer cannot point to local object artium
2018-02-23  9:22 ` J-P. Rosen
2018-02-24  8:13   ` gautier_niouzes [this message]
2018-02-23  9:42 ` Dmitry A. Kazakov
2018-02-23 12:19 ` AdaMagica
2018-02-23 16:56   ` Mehdi Saada
2018-02-23 17:16     ` 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