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.3 required=5.0 tests=BAYES_00,INVALID_MSGID, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,dabd2d2ffbcf1daa X-Google-Attributes: gid103376,public From: Robert Dewar Subject: Re: Exiting from a function or procedure Date: 2000/04/24 Message-ID: <8e14qq$1a2$1@nnrp1.deja.com>#1/1 X-Deja-AN: 614913654 References: <8e05d9$c8$1@nnrp1.deja.com> X-Http-Proxy: 1.0 x42.deja.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Mon Apr 24 09:40:43 2000 GMT X-MyDeja-Info: XMYDJUIDrobert_dewar Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.61 [en] (OS/2; I) Date: 2000-04-24T00:00:00+00:00 List-Id: In article , tmoran@bix.com wrote: > If a situation "clearly" warrants a warning, then it warrants > a warning. But there are cases where the "clearly warrants" > is disputable. General claims like this are a bit unconvincing, an example would be helpful. As I said earlier, I do not know of any warnings in GNAT where there is a good argument for omitting the warning (or they would not be there). On the other hand, we get quite a bit of input from users asking for additional warnings. > One reason for deciding not to have the > compiler issue a particular warning might be: > > >The trouble with leaving warnings in your code is that you > >can easily get into the habit of ignoring warnings, and we > > see many Actually, our experience is most often that people ignore warnings which ARE useful, and very often we get examples of code that is full of warnings, ALL of which represent real problems, and the programmer has just ignored them all on the grounds that warnings are usually useless. My point here is that, again in our experience, the warnings in GNAT are definitely useful and should NOT be ignored. I am definitely not making a point about warnings in general. I am quite aware that some compilers generate a lot of useless warnings! Sent via Deja.com http://www.deja.com/ Before you buy.