This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: On 'unused parameter' warnings
On Sat, 28 Jul 2007, Steve Kargl wrote:
> On Sun, Jul 29, 2007 at 01:16:49AM +0200, Angelo Graziosi wrote:
> >
> > With recent GFortran, building old F77 (Cernlib applications) code, one
> > gets a lot of "'unused parameter' warnings".
> >
> > Is there an option to suppress those warnings (that are very annoying)?
> >
>
> You have a few options: 1) fix the code.
Do you know CERNLIB (http://cernlib.web.cern.ch/cernlib)?
> 2) use -w.
Where this option is documented ?
I have found it only cited here:
http://gcc.gnu.org/onlinedocs/gfortran/Option-Summary.html#Option-Summary
Sometimes ago the (annoying) problem of 'unused parameter' regarded also
G95 and the author introduced '-Wunused-parameter' to use when one want
those warnings.
May this be the case also for GFortran ?
Cheers,
Angelo.