-Wunused and argument lists

Steve Kargl sgk@troutmask.apl.washington.edu
Tue Oct 4 20:17:00 GMT 2005


On Tue, Oct 04, 2005 at 01:04:29PM -0700, Steve Kargl wrote:
> troutmask:kargl[37] gfc -Wunused -c lo.f
> lo.f: In function 'f':
> lo.f:1: warning: unused variable 'b'
> troutmask:kargl[38] gfc -Wno-unused -c lo.f
> troutmask:kargl[39] 
> 
> -Wunused    == report unused variables
> -Wno-unused == do not report unused variables.
> 

Forgot to menetion this is gfortran 4.0.2.

-- 
Steve



More information about the Fortran mailing list