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=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,56cff81b925fb65b X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.38.38 with SMTP id d6mr187099pbk.4.1318415128804; Wed, 12 Oct 2011 03:25:28 -0700 (PDT) Path: d5ni2454pbc.0!nntp.google.com!news1.google.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post02.iad.highwinds-media.com!news.flashnewsgroups.com-b7.4zTQh5tI3A!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: Ada 2012 and type access to in out functions References: <43911dcc-5158-46c0-b8c3-505c5e0068eb@i14g2000yqg.googlegroups.com> Date: Wed, 12 Oct 2011 06:25:38 -0400 Message-ID: <821uui33rx.fsf@stephe-leake.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (windows-nt) Cancel-Lock: sha1:y3JP/+YHHNwbGMk9zZd7F4in/no= MIME-Version: 1.0 X-Complaints-To: abuse@flashnewsgroups.com Organization: FlashNewsgroups.com X-Trace: 7077d4e956b18e029e66122442 Xref: news1.google.com comp.lang.ada:18417 Content-Type: text/plain; charset=us-ascii Date: 2011-10-12T06:25:38-04:00 List-Id: David Sauvage writes: > Using GNAT GPL 2011, I try to define a type that is an access to an in > out function, and the following example code [1] is illegal for the > compiler. > > Is it an Ada 2012 restriction on using in out functions, a GNAT GPL > 2011 limitation or a bug ? Same error in GNAT 6.4.2. I'd guess it's a GNAT bug; they just haven't implemented that part of Ada 2012 yet. -- -- Stephe