Table of Contents
Previous: LIMITATIONS AND EXTENSIONS
NEW FEATURES
Here are the changes from Version 3.0 to Version 3.1:
- 1.
-
New checks for proper nesting of block structures such as IF ...
END IF.
- 2.
-
Limited support for attribute-based type declarations. Read the
section on Extensions for details. Note that this new feature should
be seen as a first step toward full support for Fortran 90 type
declarations, but it is not there yet. The level of support may be
sufficient for novice programmers, but it is not yet ready for serious
use.
- 3.
-
New flag -style for users who want to adhere to a strict
modern programming style. This flag controls warnings about legal
Fortran 77 constructs such as GOTO that are more error-prone
than the newer constructs available in Fortran 90.
- 4.
-
The -source options parameter-implicit-type and
dec-parameter-standard-type were changed to
param-implicit-type and fBdec-param-standard-type
respectively for consistency with other options also related to
parameters, which all use param-.
- 5.
-
New warnings: modification of a DO variable inside its loop (controlled by
-usage=do-index-modified option), and alternate return using
a constant value that does not correspond to a label argument
(controlled by a new -pretty=alternate-return option).
- 6.
-
Fixed a bug that caused project files to contain incorrect information
about actual arguments that are parameters. This bug had no effect on
checking of programs using the project files, since the bogus information
was not used in these cases.
- 7.
-
The -project flag now takes options to control how much
information about subprogram calls and common blocks should be
stored. These options are mainly of interest to those who want to use
project files for purposes other than checking the program with
ftnchek.
- 8.
-
Changed the way that the HTML documentation is produced. The main
change is that URLs referring to man pages have a different form.
Also got rid of the symbolic links in the html directory, which cause
problems on systems that do not support such links.
- 9.
-
Implementation changes for faster execution. The speedup is about a
factor of two in some cases.
Here are the changes from Version 2.12 to Version 3.0:
- 1.
-
Statement labels are now processed, instead of being ignored as
formerly. Tables of label definitions and cross-references can be
printed, and warnings about incorrect or suspicious label usage are
produced. This new feature was added by Heba Elsayed.
- 2.
-
The SELECT CASE construct is now accepted. The syntax is as defined
in Fortran 90. This new feature was added by John Bollinger.
- 3.
-
The END PROGRAM, END FUNCTION, END SUBROUTINE and
END BLOCKDATA statements are accepted. No checking for balance
is done.
- 4.
-
Source code can be in Fortran 90 free format or traditional fixed
format. Also, a semicolon is allowed as a statement separator.
- 5.
-
The -crossref flag now takes a list of options, instead of
being an on/off switch.
- 6.
-
Fixed bug that caused DO label [,] WHILE (expr) form of DO
construct not to be recognized. This bug was introduced in version 2.11.0.
- 7.
-
The ftnpp program has been unbundled from the distribution. It
is available from the same places as ftnchek.
- 8.
-
When checking the test suite (Unix version), detailed differences
between master files and
output files are no longer printed. Only the names of the differing
files are printed.
- 9.
-
Restructured the source code into smaller files for increased ease of
maintenance.
Next: BUGS