comp.lang.ada
 help / color / mirror / Atom feed
From: "wiljan" <W.Derks@nl.cis.philips.com>
Subject: Re: Redundant With Remover
Date: 1998/02/01
Date: 1998-02-01T00:00:00+00:00	[thread overview]
Message-ID: <01bd2e97$9fd074a0$0f208b82@wd> (raw)
In-Reply-To: 34D32B8E.F86335E1@elca-matrix.ch


Mats Weber <Mats.Weber@elca-matrix.ch> wrote in article
<34D32B8E.F86335E1@elca-matrix.ch>...
> > Does anybody know of a utility that can check for unneccessary with'd
> > packages? Obviously it would be harder to spot for packages that are
also
> > use'd, but if the utility also looks at the with'd package to see if
> > anything is actually used, it could be done.
> 
> gnatf (part of the GNAT compiler) does that.
>
Yes you can do this with gnatf -x1
It sometimes reports that with clauses are not needed incorrectly however.





  parent reply	other threads:[~1998-02-01  0:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-01-30  0:00 Redundant With Remover spoons
1998-01-31  0:00 ` Mats Weber
1998-01-31  0:00   ` Nick Roberts
1998-02-01  0:00   ` wiljan [this message]
1998-02-01  0:00   ` Robert S. White
1998-02-03  0:00   ` spoons
1998-02-03  0:00     ` Robert Dewar
1998-02-16  0:00       ` Oliver.Kellogg
replies disabled

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