Use -Wimplicit for gfortran?

Tom Browder tom.browder@gmail.com
Fri Jan 9 01:31:00 GMT 2009


On Thu, Jan 8, 2009 at 3:44 PM, Thomas Koenig <tkoenig@netcologne.de> wrote:
> On Wed, 2009-01-07 at 16:45 -0600, Tom Browder wrote:
>> Thomas, the description for '-Wimplicit-interface' doesn't seem to fit
>> what I need.
...
> You can compile your code with -fimplicit-none to disallow implicit
> typing and check the code for other implicit statements with
>
> grep -i implicit *.f90 | grep -v -i none
>
> to catch any other implicit statements.

I know that solution--and it's not elegant.  I would like the compiler
to check that for me--just in case someone new inserted such a
statement.

-Tom



More information about the Fortran mailing list