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, WEIRD_PORT autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,bfbc780dd8e1c97c X-Google-Attributes: gid103376,public From: robert_dewar@my-dejanews.com Subject: Re: Question about generic formal derived types Date: 1999/03/31 Message-ID: <7dtbkh$re2$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 461161259 References: <7dpgl4$h2j$1@nnrp1.dejanews.com> X-Http-Proxy: 1.0 x7.dejanews.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Wed Mar 31 14:31:45 1999 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.04 [en] (OS/2; I) Date: 1999-03-31T00:00:00+00:00 List-Id: In article , Stephen Leake wrote: > adam@irvine.com writes: > > After adding a spec for Pack4, running this thru > ObjectAda 7.1.2 gives > the error: > > adam.adb: Error: line 32 col 67 LRM:8.3(26), Illegal to > override declaration in same region, > Introducing new declaration anyway > (In instance of generic Pack2 at > adam.adb: line 13 col 9) GNAT says pack4.adb:6:05: instantiation error at pack2.ads:7 pack4.adb:6:05: "Field3" conflicts with declaration at pack3.ads:5 which seems clear enough (even if it does not send you scurrying to the RM to answer all your questions :-) -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own