/sys$common/syshlp/HELPLIB.HLB  —  FORTRAN  /WARNINGS=(opt[,...]) D=/WAR=(ALI,NOA,NOD,GEN,GRA,NOI,NOT,UNC,UNI,NOU,US)
  /[NO]WARNINGS

  Controls whether the compiler generates informational (I-level) and
  warning (W-level) diagnostic messages in response to informational
  and warning-level errors.  The default is /WARNINGS=(ALIGNMENT,
  NOARGUMENT_CHECKING, NODECLARATIONS, GENERAL, GRANULARITY,
  NOIGNORE_LOC, NOTRUNCATED_SOURCE, UNCALLED, UNINITIALIZED NOUNUSED,
  USAGE).

  [NO]ALIGNMENT
    Controls whether the compiler issues diagnostic messages when
    variables or arrays (created in COMMON or EQUIVALENCE statements)
    are declared in such a way that they cross natural boundaries for
    their data size.  For example, a diagnostic message is issued if
    /WARNINGS=ALIGNMENT is in effect and the virtual address of a
    REAL(KIND=8) variable is not a multiple of 8.

    The default is /WARNINGS=ALIGNMENT.  To suppress diagnostic
    messages about misaligned data, specify /WARNINGS=NOALIGNMENT.

    To control the alignment of fields in derived-type or record
    structures or in common blocks, use the /ALIGNMENT qualifier.
    (See the HP Fortran for OpenVMS User Manual.)

  [NO]ARGUMENT_CHECKING
    Controls whether the compiler issues diagnostic messages for
    argument mismatches between caller and callee (when compiled
    together).  The default is /WARNINGS=NOARGUMENT_CHECKING.

  [NO]DECLARATIONS
    Controls whether the compiler issues diagnostic messages for any
    untyped data item used in the program.  DECLARATIONS acts as an
    external IMPLICIT NONE declaration.  See the description of the
    IMPLICIT statement in the HP Fortran for OpenVMS Language
    Reference Manual for information about the effects of IMPLICIT
    NONE.

    The default is /WARNINGS=NODECLARATIONS.

  [NO]GENERAL
    Controls whether the compiler issues I-level and W-level
    diagnostic messages.  An I-level message indicates that a correct
    VSI Fortran statement may have unexpected results or contains
    nonstandard syntax or source form.  A W-level message indicates
    that the compiler has detected acceptable, but nonstandard,
    syntax or has performed some corrective action; in either case,
    unexpected results may occur.

    To suppress I-level and W-level diagnostic messages, specify the
    negative form of this qualifier (/WARNINGS=NOGENERAL).

    The default is /WARNINGS=GENERAL.

  [NO]GRANULARITY
    Controls whether the compiler issues the NONGRNACC warning
    message:  "Unable to generate code for requested granularity".

    The default is /WARNINGS=GRANULARITY.

  [NO]IGNORE_LOC
    Controls whether the compiler issues warnings when %LOC is
    stripped from an argument.  The default is
    /WARNINGS=NOIGNORE_LOC.

  [NO]TRUNCATED_SOURCE
    Controls whether the compiler issues a warning diagnostic message
    (EXCCHASRC) when it reads a fixed-form source line with a
    statement field that exceeds the maximum column width.  The
    maximum column width is column 72 or 132, depending on the value
    of the /EXTEND_SOURCE qualifier or the OPTIONS statement option
    in effect.

    This option has no effect on truncation; lines that exceed the
    maximum column width are always truncated.

    The default is /WARNINGS=NOTRUNCATED_SOURCE.

  [NO]UNCALLED
    Controls whether the compiler issues SFUNCALLED messages when a
    statement function is never called.  The default is
    /WARNINGS=UNCALLED (the messages are displayed).

  [NO]UNINITIALIZED
    Controls whether the compiler issues UNINIT messages when a
    variable is used before it has a value assigned to it.  The
    default is /WARNINGS=UNINITIALIZED (the messages are displayed).

  [NO]UNUSED
    Controls whether the compiler issues a warning diagnostic message
    when a variable is declared but not used.  The default is
    /WARNINGS=NOUNUSED.

  [NO]USAGE
    Controls whether the compiler generates informational diagnostic
    messages for questionable programming practices which, though
    allowed, often are the result of programming errors.

    For example, the following would cause such a message:  a
    continued character or Hollerith literal whose first part ends
    before the statement field and appears to end with trailing
    spaces.

    The default is /WARNINGS=USAGE.

  ALL
    Causes the compiler to print all I-level and W-level diagnostic
    messages, including warning messages for any misaligned data and
    untyped data items.  Specifying ALL has the effect of specifying
    (ALIGNMENT, ARGUMENT_CHECKING, DECLARATIONS, GENERAL,
    GRANULARITY, IGNORE_LOC, TRUNCATED_SOURCE, UNCALLED,
    UNINITIALIZED, UNUSED, USAGE).  This is the same as specifying
    /WARNINGS.

  NONE
    Suppresses all I-level and W-level messages.  This is the same as
    specifying /NOWARNINGS.
Close Help