[petsc-dev] Fortran source format
Jed Brown
jed at 59A2.org
Sat Jan 23 12:52:14 CST 2010
The nominally fixed-format fortran source contains continuations written like
call PetscSetFortranBasePointers(PETSC_NULL_CHARACTER, &
& PETSC_NULL_INTEGER,PETSC_NULL,PETSC_NULL_SCALAR, &
& PETSC_NULL_DOUBLE,PETSC_NULL_REAL,PETSC_NULL_OBJECT, &
& PETSC_NULL_TRUTH,PETSC_NULL_FUNCTION)
The trailing ampersand is in column 73, so new gfortran is generating
loud warnings about line truncation. Was this done because of some
compiler quirks, or is it feasible to just make sure that *.F files are
treated as fixed-form and *.F90 are treated as free-form (default on the
compilers I've seen)?
Jed
More information about the petsc-dev
mailing list