.f03 files

Christopher D. Rickett crickett@lanl.gov
Fri Jan 5 22:17:00 GMT 2007


> Christopher D. Rickett wrote:
> > how difficult would it be to get gfortran to accept files with .f03/.F03 
> > extensions?
> >   
> Is there really a need for supporting this extension?
> 
> Actually, .f = fixed form (Fortran 77, 90, 95, 2003, 2008) and .f90 =
> free form (Fortran 90, 95, 2003, 2008) should be enough. I don't think
> any compiler which supports .f95, .f03 / .f2003 treats those files any
> different than .f90 (or even .f with the -ffree-form option).

i do know of a couple compilers that accept the extension, and at least 
one where it matters for how the file is treated.  i'd prefer using 
.f03/.F03 extensions for F2003 files, rather than .f90 for everything, but 
that's just my opinion.

Chris



More information about the Fortran mailing list