From mboxrd@z Thu Jan 1 00:00:00 1970 X-Received: by 2002:ac8:5541:0:b0:417:9e0f:fb30 with SMTP id o1-20020ac85541000000b004179e0ffb30mr406403qtr.12.1699045986226; Fri, 03 Nov 2023 14:13:06 -0700 (PDT) X-Received: by 2002:a05:6808:209d:b0:3a1:f2a4:3d7 with SMTP id s29-20020a056808209d00b003a1f2a403d7mr9148596oiw.1.1699045986027; Fri, 03 Nov 2023 14:13:06 -0700 (PDT) Path: eternal-september.org!news.eternal-september.org!feeder2.eternal-september.org!eternal-september.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 3 Nov 2023 14:13:05 -0700 (PDT) In-Reply-To: <1709521b-d44d-4a2e-8833-cb642e706954n@googlegroups.com> Injection-Info: google-groups.googlegroups.com; posting-host=67.77.21.19; posting-account=ahMziQoAAAAL0iwU2Gxnh6xZxKmkLfTD NNTP-Posting-Host: 67.77.21.19 References: <1709521b-d44d-4a2e-8833-cb642e706954n@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <7b6646b4-0bed-49b1-98ee-7f08670593efn@googlegroups.com> Subject: Re: Upcasting interfaces with CPP convention in GNAT From: Kura Injection-Date: Fri, 03 Nov 2023 21:13:06 +0000 Content-Type: text/plain; charset="UTF-8" Xref: news.eternal-september.org comp.lang.ada:65832 List-Id: I was able to work around the issue by using abstract tagged null records instead of interfaces - no other changes necessary. It seems that interfaces can only be at the very top of a hierarchy even if you're only extending another interface.