This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: What is the equivalence option to ' -q -W -w -N109 -C' of f77?


Am 27.07.2013 11:25, schrieb Peng Yu:
gfortran -std=legacy -ffixed-line-length-none -fcheck=bound -c -o main.o main.f

Some additional remarks:
- Before you use it for production, I'd remove -fcheck=bound as it slows down the code. (The option is helpful to find bugs in the code, especially when implementing new features. But if the code is debugged, it can be removed.) - You do not have any optimizations enabled. I'd suggest to use at least "-O2" - otherwise, it will run disappointingly slow.

      - 'DATE    : 2003-03-24',/,' ')
        1
Warning: Extension: Tab character in format at (1)

You can ignore this warning. (For some reasons, tabs for indenting give only a warning with -std=f95/f2003/f2003 and -Wtab while tabs in a format string give an error with -std=f* and otherwise unconditionally a warning.)

       open(unit=51,name='y.his')
                    1
Error: Syntax error in OPEN statement at (1)

Try: file='y.his' instead of "name=".

Tobias


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]