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!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!t-online.de!news-lei1.dfn.de!news-ber1.dfn.de!news.uni-hamburg.de!cs.tu-berlin.de!uni-duisburg.de!not-for-mail From: Georg Bauhaus Newsgroups: comp.lang.ada Subject: Re: Two generic families: I'm confused by error msg Date: Wed, 3 Nov 2004 13:37:22 +0000 (UTC) Organization: GMUGHDU Message-ID: References: <34defe4d.0411022140.17304b1c@posting.google.com> <4188ab00$1_1@baen1673807.greenlnk.net> NNTP-Posting-Host: l1-hrz.uni-duisburg.de X-Trace: a1-hrz.uni-duisburg.de 1099489042 11190 134.91.1.34 (3 Nov 2004 13:37:22 GMT) X-Complaints-To: usenet@news.uni-duisburg.de NNTP-Posting-Date: Wed, 3 Nov 2004 13:37:22 +0000 (UTC) User-Agent: tin/1.5.8-20010221 ("Blue Water") (UNIX) (HP-UX/B.11.00 (9000/800)) Xref: g2news1.google.com comp.lang.ada:5978 Date: 2004-11-03T13:37:22+00:00 List-Id: Martin Dowie wrote: : 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. (A very speculative guess: Having seen several cases of "behavior only noticed when something is mentioned" recently, does GNAT adopt a C++ style of detecting things on use? :-) -- Georg