Go to the first, previous, next, last section, table of contents.


Pedantic Compilation

The `-fpedantic' command-line option specifies that g77 is to warn about code that is not standard-conforming. This is useful for finding some extensions g77 accepts that other compilers might not accept. (Note that the `-pedantic' and `-pedantic-errors' options always imply `-fpedantic'.)

With `-fno-f90' in force, ANSI FORTRAN 77 is used as the standard for conforming code. With `-ff90' in force, Fortran 90 is used.

The constructs for which g77 issues diagnostics when `-fpedantic' and `-fno-f90' are in force are:

If `-fpedantic' is specified along with `-ff90', the following constructs result in diagnostics:


Go to the first, previous, next, last section, table of contents.