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!news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed-0.progon.net!progon.net!uucp.gnuu.de!newsfeed.arcor.de!newsspool2.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Thu, 20 Nov 2008 12:45:27 +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> In-Reply-To: <6fcfeaa4-e70c-4f58-aa69-0e5aac145000@x8g2000yqk.googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-ID: <49254dd7$0$30232$9b4e6d93@newsspool1.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 20 Nov 2008 12:45:27 CET NNTP-Posting-Host: 847411c1.newsspool1.arcor-online.net X-Trace: DXC=SZ 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?