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.1 required=5.0 tests=BAYES_00, PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,547e6c7b9fae4e1d X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-01-23 02:55:03 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.ems.psu.edu!news.litech.org!news.nosignal.org!mephistopheles.news.clara.net!news.clara.net!oleane.net!oleane!nnrp.oleane.net!not-for-mail From: "Jean-Pierre Rosen" Newsgroups: comp.lang.ada Subject: Re: Instanciation in a package spec. Date: Thu, 23 Jan 2003 11:54:53 +0100 Organization: Guest of France Telecom Oleane's newsreading service Message-ID: References: NNTP-Posting-Host: mailhost.axlog.fr X-Trace: s1.read.news.oleane.net 1043319297 6596 195.25.228.57 (23 Jan 2003 10:54:57 GMT) X-Complaints-To: abuse@oleane.net NNTP-Posting-Date: Thu, 23 Jan 2003 10:54:57 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Xref: archiver1.google.com comp.lang.ada:33366 Date: 2003-01-23T11:54:53+01:00 List-Id: "Robert A Duff" a �crit dans le message de news: wccel752ki5.fsf@shell01.TheWorld.com... > "Grein, Christoph" writes: > > > > * GNAT 3.15p issues: > > > pascalhe.ads:135:03: warning: cannot instantiate "Ad_hoc" before body seen > > > pascalhe.ads:135:03: warning: Program_Error will be raised at run time > > > > Believe Gnat. It's a RM rule to forbid instantiations before elaboration of the body. > > A very annoying rule, indeed. > ???? Since the body of the instance is elaborated at the point of instanciation, the body of the generic has better been elaborated already.... -- --------------------------------------------------------- J-P. Rosen (rosen@adalog.fr) Visit Adalog's web site at http://www.adalog.fr