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,3039151bd3ba684d X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews1.google.com!not-for-mail From: jpwoodruff@irisinternet.net (John Woodruff) Newsgroups: comp.lang.ada Subject: Re: Two generic families: I'm confused by error msg Date: 4 Nov 2004 19:45:41 -0800 Organization: http://groups.google.com Message-ID: <34defe4d.0411041945.bb68faf@posting.google.com> References: <34defe4d.0411022140.17304b1c@posting.google.com> <4188ab00$1_1@baen1673807.greenlnk.net> NNTP-Posting-Host: 66.81.68.189 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1099626342 32482 127.0.0.1 (5 Nov 2004 03:45:42 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 5 Nov 2004 03:45:42 +0000 (UTC) Xref: g2news1.google.com comp.lang.ada:5998 Date: 2004-11-04T19:45:41-08:00 List-Id: "Martin Dowie" wrote in message news:<4188ab00$1_1@baen1673807.greenlnk.net>... > John Woodruff wrote: > > -------------------------------------------------------------------------- > > -- If this line "subtype Real is Unreal" is ABSENT, then error at > > line 26: > > -- Component subtype of actual does not match that of formal "Vector" > > -------------------------------------------------------------------------- > > subtype Real is Unreal; > > Looks like a GNAT-ism. ObjectAda 7.2.2 is fine with or without the subtype. Dmitry's suggestion was such a good one, that when I tried it the original symptom disappeared! It seems that the issue was likely an artifact of gnat 3.15p. I pretty-much-always avoid attributing my errors to compiler glitches, but this time ... Thanks, gents John