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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: "G.B." Newsgroups: comp.lang.ada Subject: Re: Generic private type declaration Date: Fri, 25 Nov 2016 20:38:50 +0100 Organization: A noiseless patient Spider Message-ID: References: Reply-To: nonlegitur@futureapps.de Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Fri, 25 Nov 2016 19:37:36 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="749afa743b8b2bed613504a0ae128e83"; logging-data="25484"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+CtDVcQBZBvIV4IxCehkKib73uyiLBzjs=" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:45.0) Gecko/20100101 Thunderbird/45.5.0 In-Reply-To: Cancel-Lock: sha1:iHIose63Xv+bV/c2FS03C6eBJx0= Xref: news.eternal-september.org comp.lang.ada:32466 Date: 2016-11-25T20:38:50+01:00 List-Id: On 25.11.16 18:36, Alejandro R. Mosteo wrote: > b001_tagged.adb:15:04: instantiation error at line 7 > b001_tagged.adb:15:04: type derived from tagged type must have extension > gnatmake: "b001_tagged.adb" compilation error second opinion: b001.ada: Error: line 15 col 38 LRM:3.4(5), A record_extension_part shall be provided if and only if the parent type is tagged; this applies in the visible part of a generic instantiation (In instance of generic Untagged at b001.ada: line 7 col 12) -- "HOTDOGS ARE NOT BOOKMARKS" Springfield Elementary teaching staff