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,e1d728aa632a5b94 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.241.162 with SMTP id wj2mr19542136pbc.2.1341791534529; Sun, 08 Jul 2012 16:52:14 -0700 (PDT) Path: l9ni11158pbj.0!nntp.google.com!news2.google.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: sbelmont700@gmail.com Newsgroups: comp.lang.ada Subject: Re: Gnat: broken dispatch tables for interface types ? Date: Sun, 8 Jul 2012 16:45:11 -0700 (PDT) Organization: http://groups.google.com Message-ID: <8f5f89c1-aa50-463a-b871-7ce32958d5ad@googlegroups.com> References: NNTP-Posting-Host: 206.53.78.59 Mime-Version: 1.0 X-Trace: posting.google.com 1341791534 26514 127.0.0.1 (8 Jul 2012 23:52:14 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 8 Jul 2012 23:52:14 +0000 (UTC) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=206.53.78.59; posting-account=ShYTIAoAAABytvcS76ZrG9GdaV-nXYKy User-Agent: G2/1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2012-07-08T16:45:11-07:00 List-Id: On Saturday, July 7, 2012 11:02:36 PM UTC-4, (unknown) wrote: > So it seems that the dispatch table for the interface is broken in Gna= t ? I encountered a similar sounding bug (there is a thread about it somewhere)= , where GNAT would mangle the dispatch table when allocating (i.e. 'new') l= imited, controlled, classwide types. IIRC, the only workaround I found was= to allocate it as the concrete type and then convert it to the classwide t= ype manually, but there were still cases in which things were tricky (i.e. = functions returning classwide types had to be modified). Originally it was= for GNAT GPL 2011, but it appears as though it remains unfixed in GNAT 201= 2 (you would think it would be a dealbreaker for GNAT Pro users, but appare= ntly not...) -sb