comp.lang.ada
 help / color / mirror / Atom feed
From: anon@anon.org
Subject: Re: Warnings about hiding
Date: Sat, 9 Oct 2010 20:11:07 +0000 (UTC)
Date: 2010-10-09T20:11:07+00:00	[thread overview]
Message-ID: <i8qi8q$2q33$1@news.ett.com.ua> (raw)
In-Reply-To: m2y6a7i3k9.fsf@pushface.org

In <m2y6a7i3k9.fsf@pushface.org>, Simon Wright <simon@pushface.org> writes:
>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...

You could say its a built-in debugging/learning tools, just like the spell 
checker that GNAT contains. Adacore has spent a great deal of time to help 
programmers understand were errors can and do occur using the source code. 
Just like they did by aiding programmers with syntax errors by including the 
spell checker with the best guess on the misspelled word.





  reply	other threads:[~2010-10-09 20:11 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-08 12:47 Warnings about hiding Julian Leyh
2010-10-08 19:46 ` Adam Beneschan
2010-10-08 20:24   ` Simon Wright
2010-10-09  1:31 ` Vinzent Hoefler
2010-10-09  6:51   ` Randy Brukardt
2010-10-09  8:08     ` Dmitry A. Kazakov
2010-10-26  1:34       ` Yannick Duchêne (Hibou57)
2010-10-26  1:28     ` Yannick Duchêne (Hibou57)
2010-10-09 11:18 ` anon
2010-10-09 19:11   ` Simon Wright
2010-10-09 20:11     ` anon [this message]
2010-10-26  1:16 ` Yannick Duchêne (Hibou57)
2010-10-26  9:32   ` J-P. Rosen
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox