FORTRAN Reference Manual

FORTRAN Reference Manual528615-001
F-1
F
Compile-Time Diagnostic Messages
This appendix lists the FORTRAN 77 compiler diagnostic messages that FORTRAN
might report in the program listing. The compiler lists a diagnostic message
immediately after it detects the condition displayed; however, because an error might
be the result of an internal condition or an improper relationship between statements,
the message might not appear immediately following the statement that caused the
condition.
Compiler diagnostic messages are of two types: error messages, which indicate
conditions that are serious enough to prevent the creation of an object program, and
warning messages, which indicate conditions of less severity. The forms of the
compiler diagnostic messages are:
**** ERROR ***** message-text
and
**** WARNING ***** message text
FORTRAN tries to complete compilation after issuing a warning message but the
compiler must make assumptions about the situation that caused the warning in order
to continue. As a result, the compiled program might not be what you intended, even if
the compilation completes.
The entry for each warning message explains what FORTRAN does about the
situation that caused the warning. If you use a program from a compilation that
included a warning message, check the entry for the warning message to make sure
that the compiler’s action corresponded to what you intended. In most cases, you’ll
need to correct the program and recompile.
Topics covered in this section include:
The compiler’s error messages and warning messages are presented in alphabetical
order, with an explanation of the condition that caused FORTRAN to report each
message. For an error message, the recommended procedure to correct the error
condition is also given.
Topic Page
Error Messages
F-2
Warning Messages F-34