From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me 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!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Ada.Containers.Indefinite_Holders in GNAT and Ada2012 Date: Sat, 09 Aug 2014 22:54:50 +0100 Organization: A noiseless patient Spider Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx05.eternal-september.org; posting-host="b814ca014269fd1fa21bc4c05b94dd9e"; logging-data="22504"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/j9B9KKRNA7qJDtpoTjEesUaL33KhEKy4=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (darwin) Cancel-Lock: sha1:C/H+FVBoSqUV6JZ2JF7f41kVypQ= sha1:Y0kyw/hNIO7QcjMdVFJczaBYk54= Xref: news.eternal-september.org comp.lang.ada:21633 Date: 2014-08-09T22:54:50+01:00 List-Id: Victor Porton writes: > This does not work because in GNAT 4.9 a-coinho.ads source file is not up to > date with Ada2012 and there are no Reference function here. > > My questions: > > 1. How long to wait for GNAT to work with this? (in which GNAT version?) Very likely will be fixed in FSF GCC 4.10, because Reference is present in GNST GPL 2014. > In the meantime, I need to write for my private use a container > similar to Ada.Containers.Indefinite_Holders for aliased objects by > myself :-( If it's only for private use you could use the GPL compiler.