comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: gnoga build fails on Mac
Date: Sun, 21 Jun 2020 15:28:14 +0200	[thread overview]
Message-ID: <rcnn9d$128n$1@gioia.aioe.org> (raw)
In-Reply-To: e6de3501-3174-4553-b220-9b3e75170885o@googlegroups.com

On 21/06/2020 13:18, Roger wrote:

> However, I now have another problem that I don't know how to fix that is not part of Simple Components but presumably due to GNAT CE 2020 restrictions.
> gnoga-gui-view-docker.adb:117:40: implicit conversion of anonymous access parameter not allowed
> and other similar errors in gnoga-gui-view-docker.adb:117:40

I looked shortly at the gnoga sources, you could try to replace

    View.Element_Map.Include ("top", Dock);

with

    View.Element_Map.Include ("top", Dock.all'Unchecked_Access);

P.S. gnoga uses universal access for pointers in containers. I always 
avoided doing this preferring pool-specific access types. So I had to 
deal with the restriction on anonymous access from the beginning. 
Basically in my code I presume that a pointer cannot be obtained either 
from the object or from an anonymous access to the object. Now this hits 
all code which had chosen an easier path.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de

  reply	other threads:[~2020-06-21 13:28 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-21  7:57 gnoga build fails on Mac Roger
2020-06-21  8:41 ` Dmitry A. Kazakov
2020-06-21 11:18   ` Roger
2020-06-21 13:28     ` Dmitry A. Kazakov [this message]
2020-06-22  3:15       ` Roger
2020-06-22  5:56         ` Dmitry A. Kazakov
2020-06-22  6:14           ` Roger
2020-06-22 11:37           ` Jeffrey R. Carter
2020-06-22 23:25             ` Roger
2020-06-23 11:27               ` Jeffrey R. Carter
2020-06-29  0:55             ` Randy Brukardt
2020-06-29  8:29               ` Jeffrey R. Carter
2020-07-01  1:09                 ` Randy Brukardt
2020-07-01  8:52                   ` Jeffrey R. Carter
2020-07-03  0:23                     ` Randy Brukardt
2020-07-03  9:09                       ` Jeffrey R. Carter
2020-07-07 14:41                         ` Shark8
2020-07-07 15:37                           ` Jeffrey R. Carter
2020-06-21 14:24 ` Jeffrey R. Carter
2020-06-21 16:46   ` Simon Wright
replies disabled

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