[ Basic Info | References | User Guide ]

Basic Information on flint


Task: flint
Purpose: Fortran source code verifier
Categories: tools

Flint is a FORTRAN checker, producing warnings about non-standard,
possibly incorrect or poor FORTRAN code.

Flint takes a large number of flags, to attempt to keep the error 
messages that it generates down to manageable proportions. The 
command format is:

 flint [-acdfhjkrsux2?] [-I dir] [-o file] [-l] file ...

  a    make crude list of all variables used
  c    Allow comments and continuation lines to be interwoven. 
       Normally flint flags this as an error.
  d    Do not insist that variables are always explicitly declared.
  f    Disable "line checks".
  h    Crude treatment of hollerith.
  k    Do not warn about COMMON block alignment problems.
  j    Do not check if a variable has been initialised.
  r    Do not warn about seemingly redundant variables.
  s    Load the definitions of specific functions and FORTRAN-IV
       standard function.
  u    Do not worry about unused variables.
  x    Allow names longer than 8 characters.
  2    Flint performs two passes.
  ?    Print a message describing the flags.

  o    Generate output file giving subroutine definitions only. The 
       next command line argument gives the output file name.
  l    The following file is to be processed in "library mode". This
       means that the file is not echoed to flint.log, and that errors
       detected are to be ignored.
  I    add a directory to search for include files.
  i    Equivalent to "I".

Flint is NOT intended to replace compiler checks.  Flint is blind
to much bad code that any compiler will pick up. However you might
find flint's log file useful when doing initial source code corrections
after writing a piece of code.                                        

User Guide References to flint

[ Basic Info | References | User Guide ]

Generated by smamiriad@cfa.harvard.edu on 09 Jul 2012