Does gfortran support ACCESS='APPEND'?
Jack Howarth
howarth@bromo.msbb.uc.edu
Fri Aug 19 17:04:00 GMT 2005
I was finally able to compile whatcheck with gcc main trunk gfortran
last night using Asher's BYTE patch and changing the FLOAT conversions
to REAL conversions. However, I saw an oddity at run-time when the
program hit the line...
cdbfil.F: OPEN (59,FILE='check.db',STATUS='UNKNOWN',ACCESS='APPEND')
The problem seemed to be that the ACCESS='APPEND' causes a run-time error
when opening the file. If I delete the ACCESS='APPEND' portion of this
line and recompile, the run-time error disappears. I know with xplor-nih
compiled on MacOS X with IBM Fortran's xlf compiler we had to delete the
same ACCESS='APPEND' on OPEN statements. In that case, however it
generated a compile-time error if we didn't delete the ACCESS='APPEND'
rather than a run-time error. Shouldn't gfortran be doing the same? That is
generating a compile-time rather than a run-time error on ACCESS='APPEND'?
Thanks in advance for any information.
Jack
More information about the Fortran
mailing list