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,29523eff834b8169 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nntp.club.cc.cmu.edu!feeder.erje.net!newsfeed.straub-nv.de!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Warnings about hiding Date: Sat, 09 Oct 2010 20:11:50 +0100 Organization: A noiseless patient Spider Message-ID: References: <44e7dff1-04f5-46ad-8521-e4fe030c9c29@26g2000yqv.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Date: Sat, 9 Oct 2010 19:11:50 +0000 (UTC) Injection-Info: mx01.eternal-september.org; posting-host="dFCm8HWntFqmDIilBLqEJQ"; logging-data="11287"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19kB7s0VEQ9AsqneAeIfyJoaVpCDS4XVuw=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (darwin) Cancel-Lock: sha1:RfNGx3RzHGtSf62rQge1lrYIfdc= sha1:u6Ld8tRLk03WiT239TxDMeY+CiY= Xref: g2news1.google.com comp.lang.ada:14467 Date: 2010-10-09T20:11:50+01:00 List-Id: anon@anon.org writes: > So, drop the requirement of using "-gnatwh" is the only answer. > Unless you want or need to see what caused the first routine or > variable to be hidden. In similar vein I use -gnatwaL because I don't want to know about all the elaboration-order checks one might need if not using GNAT's static elaboration. On the other hand, I really would have thought that an overriding subprogram shouldn't provoke the warning...