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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,2683e73445986fa2 X-Google-Attributes: gid103376,public From: Stephen Leake Subject: Re: Derivation + Access Discriminant = Headaches Date: 1999/03/19 Message-ID: #1/1 X-Deja-AN: 456617392 References: <7cu23r$miu@dfw-ixnews5.ix.netcom.com> Organization: NASA Goddard Space Flight Center -- Greenbelt, Maryland USA Newsgroups: comp.lang.ada Date: 1999-03-19T00:00:00+00:00 List-Id: Matthew Heaney writes: > Richard D Riehle writes: > > > On GNAT, an equivalent type hierarchy works fine. > > Which version of GNAT are you using? On what OS? On what machine? > > I'm having this problem using a home-grown port of v3.11p, so it may be > a porting problem. I compiled Matthew's code with GNAT 3.11p on Windows NT (the public binary distribution) and got the error : q.ads:4:14: subtype must be compatible with parent discriminant gnatmake: "q.ads" compilation error ObjectAda (same machine) gives no error. I suspect GNAT has a compiler bug; I'll let Matthew submit it. -- Stephe