comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <Stephen.A.Leake@nasa.gov>
Subject: Re: Another ammunition
Date: 06 Jan 2003 15:50:10 -0500
Date: 2003-01-06T21:02:46+00:00	[thread overview]
Message-ID: <uof6u6m0t.fsf@nasa.gov> (raw)
In-Reply-To: 3E19BF66.2050506@cogeco.ca

"Warren W. Gay VE3WWG" <ve3wwg@cogeco.ca> writes:

> The point is, is that a lot of other projects and even team members
> fail to include the support for this "warning". If it were on by
> default, there would be uncounted number of hours saved each year
> by programmers who instead spend the time debugging a problem
> related to this issue.  I've seen this time and again, even though
> my team members know about it.

No tool can substitute for good process, and good education.

No tool should be used with only the default command line parameters;
the project style guide should say what parameters to specify, and it
must be enforced.

The first step in your debug process should be to make sure the proper
warnings are turned on, and fix all warnings.

> It is not enough to say "it is not an issue because I do this...".
> It is an issue, 

yes, it is. And the proper solution is good process.

> that could be fixed once and for all. 

Nope. People who don't like to fix warnings will include the option to
supress them (that option has to be there, because you do occasionally
have a legitmate need for it).

> Even a warning doesn't guarantee that it will be noticed and fixed
> -- but it greatly increases the odds!

Not much. As has been pointed out in this thread, many people ignore
warnings all the time.

> However, the best solution of all is to use Ada instead, and only
> rely on C like an assembly level layer, when required ;-)

True. But even for Ada, using the default command line parameters for
the compiler and linker is bad practice.

-- 
-- Stephe



  reply	other threads:[~2003-01-06 20:50 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-31 10:23 Another ammunition Jean-Pierre Rosen
2002-12-31 11:43 ` Eric G. Miller
2002-12-31 12:57   ` Jean-Pierre Rosen
2002-12-31 16:23     ` Alexander Schreiber
2003-01-02  6:55       ` AG
2003-01-01 16:58         ` Alexander Schreiber
2003-01-07 12:54           ` Peter Hermann
2003-01-07 13:21           ` Richard Riehle
2003-01-11 18:29             ` Alexander Schreiber
2003-01-13  2:11               ` u.r. faust
2003-01-12 12:44                 ` Larry Kilgallen
2003-01-14  1:24                   ` Georg Bauhaus
2003-01-03  9:50         ` Jean-Pierre Rosen
2003-01-03 15:24         ` Stephen Leake
2002-12-31 16:40     ` Warren W. Gay VE3WWG
2003-01-04 20:17       ` David Thompson
2003-01-06 17:39         ` Warren W. Gay VE3WWG
2003-01-06 20:50           ` Stephen Leake [this message]
2003-01-06 22:16             ` Warren W. Gay VE3WWG
2003-01-07 18:37               ` Stephen Leake
2003-01-07 21:55                 ` Warren W. Gay VE3WWG
2003-01-01  9:05 ` Michael Erdmann
2003-01-07 13:03   ` Peter Hermann
replies disabled

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