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,9b7d3a51d0d8b6ee X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder2-2.proxad.net!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Thu, 20 Nov 2008 12:46:53 +0100 From: Georg Bauhaus User-Agent: Thunderbird 2.0.0.18 (Macintosh/20081105) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Extending discriminant types References: <20081115101632.5f98c596@cube.tz.axivion.com> <26f0cb8c-eb3e-4c0d-85d1-f45e2c1ba4c6@j38g2000yqa.googlegroups.com> <6fcfeaa4-e70c-4f58-aa69-0e5aac145000@x8g2000yqk.googlegroups.com> <49254dd7$0$30232$9b4e6d93@newsspool1.arcor-online.net> In-Reply-To: <49254dd7$0$30232$9b4e6d93@newsspool1.arcor-online.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-ID: <49254e2d$0$30232$9b4e6d93@newsspool1.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 20 Nov 2008 12:46:53 CET NNTP-Posting-Host: 847411c1.newsspool1.arcor-online.net X-Trace: DXC=>;Kc9d2GFLIAa;:RKVJ>LEic==]BZ:afN4Fo<]lROoRA^YC2XCjHcbI[b9FcOG[i2L;9OJDO8_SKFNSZ1n^B98iJ;M^G6Eg3MfG X-Complaints-To: usenet-abuse@arcor.de Xref: g2news1.google.com comp.lang.ada:2709 Date: 2008-11-20T12:46:53+01:00 List-Id: Georg Bauhaus schrieb: > Ludovic Brenta schrieb: >> On Nov 20, 9:30 am, christoph.gr...@eurocopter.com wrote: >>> On 20 Nov., 08:21, a...@anon.org (anon) wrote: >>> >>>> Since, the orginal post suggest that the poster was using GNAT Ada 95 >>>> compiler. Because the poster states that he can compiler the code. So, >>>> I used Gnat 3.15p using Ada 95 specs. >> One can also try GNAT GPL Edition 2008 or GCC 4.3 (or even 4.4) and >> pass it the -gnat95 option which is documented in the Secret GNAT >> User's Guide. > > GNAT has -gnat83 as well, but rejects, too, because there are > neither tagged nor abstract types in Ada 83. > > Just out of curiosity, given > > type T is tagged ...; > type D is new T with ...; > type E is new D with ...; > > what would E'Base be? > > Assuming that D is privately tagged, would E'Base > have different effects depending on whether E's tag > is visible or not? D's tag, ie.