gfortran doesn't recognize .F90 and .F95 files anymore

Tobias.Schlueter@Physik.Uni-Muenchen.DE Tobias.Schlueter@Physik.Uni-Muenchen.DE
Tue Aug 2 13:38:00 GMT 2005


Quoting Martin Reinecke <martin@MPA-Garching.MPG.DE>:
> Trying to compile the simple file
>
> program test
> end
>
> under the name "test.F90" with an additional flag didn't work:
>
> ~/tmp>gfortran -fsecond-underscore test.F90
> cc1: warning: command line option "-fsecond-underscore" is valid for F95 but
> not for C
>
> So for some reason gfortran thinks that it is compiling C code.

This looks like PR 18452.  The error message is misleading.  Have you checked
that indeed no object file is generated?

- Tobi



More information about the Fortran mailing list