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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,23f57930ddc13e1c X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!19g2000hsx.googlegroups.com!not-for-mail From: Maciej Sobczak Newsgroups: comp.lang.ada Subject: Re: Missing Index Value in Array Aggregate Date: Fri, 28 Sep 2007 13:26:55 -0700 Organization: http://groups.google.com Message-ID: <1191011215.892759.221190@19g2000hsx.googlegroups.com> References: <1i50iqb.14r2zb11w8eyc2N%csampson@inetworld.net> <1190822071.488118.316450@y42g2000hsy.googlegroups.com> <1i548co.yz2f6m45x0mwN%csampson@inetworld.net> <1190975217.781850.216560@50g2000hsm.googlegroups.com> <46FD2A20.8090509@obry.net> NNTP-Posting-Host: 85.3.107.199 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: posting.google.com 1191011216 1762 127.0.0.1 (28 Sep 2007 20:26:56 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 28 Sep 2007 20:26:56 +0000 (UTC) In-Reply-To: <46FD2A20.8090509@obry.net> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.7) Gecko/20070914 Firefox/2.0.0.7,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: 19g2000hsx.googlegroups.com; posting-host=85.3.107.199; posting-account=ps2QrAMAAAA6_jCuRt2JEIpn5Otqf_w0 Xref: g2news2.google.com comp.lang.ada:2204 Date: 2007-09-28T13:26:55-07:00 List-Id: On 28 Wrz, 18:21, Pascal Obry wrote: > > Same here, and in addition I always compile with -gnatwa (enable all > > optional warnings). > > Same here and adding -gnatwe to fail when a single warning is issued by > the compiler. Only these two? :-) -fstack-check -gnata -gnatf -gnato -gnatv -gnatVa -gnatwa -gnatwd - gnatwe -gnatwh -gnatwl -gnatwt -gnatwH -gnaty3aAbcdefhiklM120nprtux Who can beat this? ;-) Seriously - I find it helpful to use all these options together. The initial impression is that the compiler is too picky, but after fighting the code through all this it just reads like a prose. -- Maciej Sobczak http://www.msobczak.com/