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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,9fb8e2af320d5b3e X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!k79g2000hse.googlegroups.com!not-for-mail From: Maciej Sobczak Newsgroups: comp.lang.ada Subject: Re: Bus error Date: Thu, 28 Jun 2007 13:06:49 -0700 Organization: http://groups.google.com Message-ID: <1183061209.600996.74710@k79g2000hse.googlegroups.com> References: <1182954233.788124.17920@c77g2000hse.googlegroups.com> <1182959120.13096.8.camel@kartoffel> <1182964748.689146.52490@c77g2000hse.googlegroups.com> NNTP-Posting-Host: 85.3.207.140 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: posting.google.com 1183061209 30016 127.0.0.1 (28 Jun 2007 20:06:49 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 28 Jun 2007 20:06:49 +0000 (UTC) In-Reply-To: User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: k79g2000hse.googlegroups.com; posting-host=85.3.207.140; posting-account=Ch8E9Q0AAAA7lJxCsphg7hBNIsMsP4AE Xref: g2news1.google.com comp.lang.ada:16331 Date: 2007-06-28T13:06:49-07:00 List-Id: On 28 Cze, 03:58, Robert A Duff wrote: > > BTW - is it necessary to reveal in the public view that the type is > > tagged? > > No. You can have an untagged private type whose full type is tagged. You mean - untagged *public*, I suppose? > > I cannot check it, because this time I get the explicit "GNAT BUG > > DETECTED". > > ...which requests that you send a bug report. I conclude that AdaCore guys read comp.lang.ada as well. :-) > As to your original question, about an extension aggregate: I don't see > anything wrong with your code, and I do recall fixing a bug in that area > (extension aggregate of limited type with controlled parts returned from > build-in-place function) a month or so ago. The bug fix will eventually > find its way into the public version of GNAT. That's a good news, really. I consider this feature (limited controlled with unknown discriminant) to be fundamental for correct handling of external resources and other "interesting" types. It is really a high time for this feature to get a wider adoption. -- Maciej Sobczak http://www.msobczak.com/