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: a07f3367d7,20280f498071efd3 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!bloom-beacon.mit.edu!newsswitch.lcs.mit.edu!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: Software Quality in Science Date: Wed, 10 Feb 2010 11:24:36 -0500 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <1198a288-b013-45a8-907f-7fe227e6294e@m27g2000prl.googlegroups.com> <04185bf3-f83a-4fbe-b380-c6d8aa4105e6@w27g2000pre.googlegroups.com> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls6.std.com 1265819061 18437 192.74.137.71 (10 Feb 2010 16:24:21 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Wed, 10 Feb 2010 16:24:21 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:I/0aiaM8boPscIvP8Yjn1lWg8L4= Xref: g2news1.google.com comp.lang.ada:9093 Date: 2010-02-10T11:24:36-05:00 List-Id: Hyman Rosen writes: > On 2/10/2010 9:29 AM, Stephen Leake wrote: >> The programmers still have to specify the right switches, and pay >> attention to the results, and know how to fix them, which is a >> political/management/skill issue, not a language design issue. > > The same is true for Ada, at least as implemented in GNAT. Yes. Seat belts only work if you buckle them. Don't put pennies in your fuse box. >> I know from personal experience that there is a satellite about to be >> launched who's control code has many remaining C warnings. Sigh. > > Well, isn't that part of "pay attention to the results"? > Not all warnings represent things that need to be fixed. Yes, but I think you need a way to systematically mark the ones that don't need to be fixed. That's what pragma Warnings(Off) is for. At AdaCore, we insist on warning-free builds for out Ada code, which requires using that pragma sometimes. - Bob