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,5c4073b66dd0e720 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!s48g2000cws.googlegroups.com!not-for-mail From: "Adam Beneschan" Newsgroups: comp.lang.ada Subject: Re: strange warning: "return" statement missing following? Date: 23 Jan 2007 08:57:19 -0800 Organization: http://groups.google.com Message-ID: <1169571439.367605.152710@s48g2000cws.googlegroups.com> References: NNTP-Posting-Host: 66.126.103.122 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: posting.google.com 1169571454 27533 127.0.0.1 (23 Jan 2007 16:57:34 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 23 Jan 2007 16:57:34 +0000 (UTC) In-Reply-To: User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.12) Gecko/20050922 Fedora/1.7.12-1.3.1,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: s48g2000cws.googlegroups.com; posting-host=66.126.103.122; posting-account=cw1zeQwAAABOY2vF_g6V_9cdsyY_wV9w Xref: g2news2.google.com comp.lang.ada:8432 Date: 2007-01-23T08:57:19-08:00 List-Id: Stephen Leake wrote: > GNADE proejct account writes: > > > Dear all, > > > > when i am compiling my code, i get the following error: > > > > cache.adb:82:04: warning: in instantiation at > > util-dynamic_hashtable.adb:310 cache.adb:82:04: warning: "return" > > statement missing following this statement cache.adb:82:04: warning: > > Program_Error may be raised at run time > > > > the offending lines in util-dynamic_hash.adb are: > > What is in cache.adb:82 ? > > It is odd to see two filenames on one line. I think that the poster simply posted in a way that his posting software decided to do a paragraph fill instead of respecting his line breaks. cache.adb:82:04: warning: in instantiation at util-dynamic_hashtable.adb:310 cache.adb:82:04: warning: "return" statement missing following this statement cache.adb:82:04: warning: Program_Error may be raised at run time Does this make it clearer? (Assuming Google Groups hasn't sabotaged my formatting.) -- Adam