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,e1d728aa632a5b94,start X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.223.40 with SMTP id qr8mr17626289pbc.0.1341716557255; Sat, 07 Jul 2012 20:02:37 -0700 (PDT) Path: l9ni11086pbj.0!nntp.google.com!news2.google.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: rodakay@internode.on.net Newsgroups: comp.lang.ada Subject: Gnat: broken dispatch tables for interface types ? Date: Sat, 7 Jul 2012 20:02:36 -0700 (PDT) Organization: http://groups.google.com Message-ID: NNTP-Posting-Host: 150.101.201.124 Mime-Version: 1.0 X-Trace: posting.google.com 1341716557 21094 127.0.0.1 (8 Jul 2012 03:02:37 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 8 Jul 2012 03:02:37 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=150.101.201.124; posting-account=pBdvJAoAAAAbTiQ-L1tpxD99i_UttsrJ User-Agent: G2/1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2012-07-07T20:02:36-07:00 List-Id: Hi all, Has anyone had any success with interface types ? I recently added a function to an interface type. Now when I invoke a fu= nction of the interface type, a different function is called. Which functio= n is actually called seems to depend on the order of declaration of the sub= programs for the interface type. So it seems that the dispatch table for the interface is broken in Gnat = ? I've tried building with both GPL12 and latest GCC from svn, with the sa= me result. regards, Rod.