comp.lang.ada
 help / color / mirror / Atom feed
From: sbelmont700@gmail.com
Subject: Re: Gnat: broken dispatch tables for interface types ?
Date: Sun, 8 Jul 2012 16:45:11 -0700 (PDT)
Date: 2012-07-08T16:45:11-07:00	[thread overview]
Message-ID: <8f5f89c1-aa50-463a-b871-7ce32958d5ad@googlegroups.com> (raw)
In-Reply-To: <c231a9b2-8fb7-41ab-98a2-72173a08f66c@googlegroups.com>

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 Gnat ?

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') limited, controlled, classwide types.  IIRC, the only workaround I found was to allocate it as the concrete type and then convert it to the classwide type 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 2012 (you would think it would be a dealbreaker for GNAT Pro users, but apparently not...)

-sb



  parent reply	other threads:[~2012-07-08 23:52 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-08  3:02 Gnat: broken dispatch tables for interface types ? rodakay
2012-07-08  6:53 ` Dmitry A. Kazakov
2012-07-08  7:38   ` Jeffrey Carter
2012-07-08  8:10     ` Dmitry A. Kazakov
2012-07-08 12:34   ` rodakay
2012-07-09  6:53     ` rodakay
2012-07-09  7:31       ` Dmitry A. Kazakov
2012-07-09  7:46         ` Rod Kay
2012-07-09  9:37         ` Simon Wright
2012-07-09  9:49           ` Dmitry A. Kazakov
2012-07-09 17:32             ` Simon Wright
2012-07-09 18:28               ` Dmitry A. Kazakov
2012-07-13 15:58             ` Robert A Duff
2012-07-08 17:41 ` Vadim Godunko
2012-07-09  7:34   ` Rod Kay
2012-07-08 23:45 ` sbelmont700 [this message]
2012-07-10  7:02 ` Rod Kay
2012-07-10 11:09   ` Simon Wright
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox