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,6ea75cb98c3c832d X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!club-internet.fr!feedme-small.clubint.net!news.teledata-fn.de!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail Newsgroups: comp.lang.ada Subject: Re: [Q] pragma Warnings From: Georg Bauhaus In-Reply-To: References: <1196276028.10481.19.camel@kartoffel> Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1196285065.6850.3.camel@K72> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 Date: Wed, 28 Nov 2007 22:24:25 +0100 Organization: Arcor NNTP-Posting-Date: 28 Nov 2007 22:24:25 CET NNTP-Posting-Host: a7854c6b.newsspool1.arcor-online.net X-Trace: DXC=WKGQd>NkU\CFJ3]dH>I?oEic==]BZ:afN4Fo<]lROoRAFl8W>\BH3YB=A\bhRWfXQAA:ho7QcPOVCTY?37b[bL[CeaSm9Lf[=<@ X-Complaints-To: usenet-abuse@arcor.de Xref: g2news1.google.com comp.lang.ada:18667 Date: 2007-11-28T22:24:25+01:00 List-Id: On Wed, 2007-11-28 at 14:56 -0500, Robert A Duff wrote: > I've developed Ada code using multiple Ada compilers at the same time. > You're right -- different Ada compilers give different warnings. > Here's what I suggest: pick one of the compilers that gives > the warnings you like, and take those ones seriously. > For the other Ada compiler(s), turn off all warnings > with a switch, or simply don't pay any attention to them > (including the warnings about pragma Warnings, if any!). > > If you distribute source code, you should document your policy, so users > understand whether or not a warning is an indication that something is > wrong. A new twist on pragmatic programming. :-) http://m-w.com/dictionary/pragmatism