VMS Help  —  MACRO  Qualifiers  /FLAG
       /FLAG=(option[,...])
       /NOFLAG

    Specifies which classes of informational messages the compiler
    reports. The options are:

    Option          Description

    ALIGNMENT       Reports unaligned stack and memory references.

    ALL             Enables all options.

    ARGLIST         Reports that the argument list has been homed.

    BAD_FIELD_      Reports BBC/BBS instructions that attempt to use
    USAGE           bits beyond 31.
    (I64 only)

    CODEGEN         Reports run-time code generation, such as self-
                    modifying code.

    COMPILER_       Prints compiler version to SYS$ERROR.
    VERSION
    (I64 only)

    DIRECTIVES      Reports unsupported directives.

    HINTS           Reports input/output/auto-preserved register
                    hints.

    INDIRECT_       Reports CALLS/CALLG instructions that have an
    CALLS           indirect target and are not preceded by a .USE_
    (I64 only)      LINKAGE directive.

    INDIRECT_JSB    Reports JSB instructions that have an indirect
    (I64 only)      target and are not preceded by a .USE_LINKAGE
                    directive.

    INSTRUCTIONS    Reports instructions that use absolute addresses
                    that might compile correctly, but should be
                    examined anyway, because the desired absolute
                    address might be different on the system.

    JUMPS           Reports branches between routines.

    LINKAGE         Reports linkage information provided to the
    (I64 only)      OpenVMS linker.

    NONE            Disables all options.

    STACK           Reports all messages caused by user stack
                    manipulation.

    At compiler activation, the default is /FLAG=(ALIGNMENT, ARGLIST,
    CODEGEN, DIRECTIVES, INSTRUCTIONS, JUMPS, STACK).

                                   NOTE

       Use of the /NOFLAG and /FLAG qualifiers together to
       activate a specific subset of cross-compiler messages
       does not work as expected. When used together, as in
       /NOFLAG/FLAG=(keyword,keyword), instead of activating only
       the messages specified by the keywords, all cross-compiler
       messages are activated. However, use of /FLAG=(none,keyword)
       activates only those messages specified by the keyword.

    Note that specifying /NOFLAG or /FLAG=NONE does not disable the
    reporting of coding constructs that would prevent a successful
    compilation. The compiler continues to report code that you must
    change, such as an up-level stack reference.
Close Help