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,8a4e18076ffd17ab,start X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!8g2000hse.googlegroups.com!not-for-mail From: nblanpain@gmail.com Newsgroups: comp.lang.ada Subject: Ada 2005 : Multiple Inheritance / Interface / limited Date: Tue, 22 Jul 2008 03:16:11 -0700 (PDT) Organization: http://groups.google.com Message-ID: NNTP-Posting-Host: 192.54.144.229 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1216721772 16521 127.0.0.1 (22 Jul 2008 10:16:12 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 22 Jul 2008 10:16:12 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: 8g2000hse.googlegroups.com; posting-host=192.54.144.229; posting-account=Z8Ev_woAAADD89DazvrukY0-jgtuui82 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322),gzip(gfe),gzip(gfe) X-HTTP-Via: 1.0 proxy:8080 (squid/2.5.STABLE3) Xref: g2news2.google.com comp.lang.ada:6966 Date: 2008-07-22T03:16:11-07:00 List-Id: Hi, I have a problem with multiple inheritance / limited : package Interface1 is type T_Interface1 is limited interface; function Get_Value1 (This : in T_Interface1) return Integer is abstract; end Interface1; package Interface2 is type T_Interface2 is limited interface; function Get_Value2 (This : in T_Interface2) return Integer is abstract; end Interface2; with Interface1; with Interface2; package Test is type T_Test is limited new Interface1.T_Interface1 and Interface2.T_Interface2 with record null; end record; overriding function Get_Value1 (This : in T_Test) return Integer; overriding function Get_Value2 (This : in T_Test) return Integer; end Test; The compilation error message is test.ads:8:01: construct not allowed in this configuration test.ads:8:01: entity "Ada.Tags.Osd_Table" not defined Have you an explain? Thanks, Nicolas