comp.lang.ada
 help / color / mirror / Atom feed
From: Georg Bauhaus <rm.tsoh+bauhaus@maps.futureapps.de>
Subject: Re: [Q] pragma Warnings
Date: Wed, 28 Nov 2007 22:24:25 +0100
Date: 2007-11-28T22:24:25+01:00	[thread overview]
Message-ID: <1196285065.6850.3.camel@K72> (raw)
In-Reply-To: <wccir3mta8d.fsf@shell01.TheWorld.com>


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





  reply	other threads:[~2007-11-28 21:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-28 18:53 [Q] pragma Warnings Georg Bauhaus
2007-11-28 19:56 ` Robert A Duff
2007-11-28 21:24   ` Georg Bauhaus [this message]
2007-11-29 22:37 ` Stephen Leake
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox