1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/devel/ftnchek/pkg-descr
Matthew Hunt f5f39766c0 Import of ftnchek, a lint-like program for Fortran 77.
PR:		6517
Submitted by:	Steven G. Kargl <kargl@troutmask.apl.washington.edu>
1998-05-05 05:07:48 +00:00

13 lines
862 B
Plaintext

ftnchek (short for Fortran checker) is designed to detect certain errors
in a Fortran 77 program that a compiler usually does not. ftnchek is not
primarily intended to detect syntax errors. Its purpose is to assist the
user in finding semantic errors. Semantic errors are legal in the Fortran
77 language but are wasteful or may cause incorrect operation. For example,
variables which are never used may indicate some omission in the program;
uninitialized variables contain garbage which may cause incorrect results
to be calculated; and variables which are not declared may not have the
intended type. ftnchek is intended to assist users in the debugging of
their Fortran 77 program. It is not intended to catch all syntax errors.
This is the function of the compiler. Prior to using ftnchek, the user
should verify that the program compiles correctly.