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=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,668255690a14abb2,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-06-20 10:29:36 PST Path: archiver1.google.com!newsfeed.google.com!sn-xit-03!supernews.com!freenix!enst!enst.fr!not-for-mail From: "M. A. Alves" Newsgroups: comp.lang.ada Subject: Compiler complaint legal? Date: Wed, 20 Jun 2001 19:17:56 +0100 (WEST) Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: avanie.enst.fr 993057559 70539 137.194.161.2 (20 Jun 2001 17:19:19 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Wed, 20 Jun 2001 17:19:19 +0000 (UTC) To: comp.lang.ada@ada.eu.org Return-Path: X-Sender: maa@borba.ncc.up.pt Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0.4 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: comp.lang.ada mail<->news gateway List-Unsubscribe: , List-Archive: Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org Xref: archiver1.google.com comp.lang.ada:8926 Date: 2001-06-20T19:17:56+01:00 Package O defines type O. GNAT does not recognize the type here: with O; use O; procedure O_Test is Object: O; -- HERE begin Create(Object); end O_Test; I have to spell it out for him (tested, other lines being equal): Object: O.O; Academic question: is this a legal complaint from a (aledgedly) validated compiler? (GNAT says "subtype mark required in this context" which I find confusing because one does not immediately realise that what he is missing is a "subtype indication" but this is another story I think.) Thanks, -- , M A R I O data miner, LIACC, room 221 tel 351+226078830, ext 121 A M A D O Rua Campo Alegre, 823 fax 351+226003654 A L V E S P-4150 PORTO, Portugal mob 351+939354002