From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!aioe.org!.POSTED.2uCIJahv+a4XEBqttj5Vkw.user.gioia.aioe.org!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: gnoga build fails on Mac Date: Sun, 21 Jun 2020 15:28:14 +0200 Organization: Aioe.org NNTP Server Message-ID: References: <4bbbd09e-e14f-46f5-a510-bdf0c17eba8fo@googlegroups.com> NNTP-Posting-Host: 2uCIJahv+a4XEBqttj5Vkw.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 X-Notice: Filtered by postfilter v. 0.9.2 Content-Language: en-US Xref: reader01.eternal-september.org comp.lang.ada:59141 List-Id: 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