This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Ada files now checked in


On Sat, Oct 06, 2001 at 11:10:29AM -0400, dewar@gnat.com wrote:
> Only -W and -Wall would be relevant, -Wwrite-strings has no meaning
> for Ada. We do in fact try to keep the sources warning free (*) so
> this is perfectly reasonable.

Okay, I will revise the patch to include -W and -Wall in the
appropriate position.

> (*) I must say I find the warnings in this area from gcc to be awful. To
> be told that somewhere in a procedure there is a suspicious use of a
> particular variable, but not to have this particular use pointed out
> is quite annoying, given that
> 
> a) the compiler really could know the specific case 
> b) 95% of the time these warnings are wrong, and so you are not looking for
>      a suspicious use, but one that the compiler thinks is suspicious.

Completely agreed, and there is work in progress to improve these
warnings.

zw


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]