-qextchk

Category

Error checking and debugging

Purpose

Generates information to perform type-checking at both compile and link time to ensure consistency between declarations and references.

The compiler will perform type checking to ensure consistency of data and procedure declarations and their use points. The compiler will perform some checking within compilation units at compile time and the linker will do some across compilation units at link time. Specifically, checks are done for common blocks, procedure definitions and references, dummy arguments, actual arguments, and module data.

Syntax

Read syntax diagramSkip visual syntax diagram
        .-noextchk-.   
>>- -q--+-extchk---+-------------------------------------------><

@PROCESS:

@PROCESS EXTCHK | NOEXTCHK

Defaults

-qnoextchk

Usage

At compile time, -qextchk verifies the consistency of procedure definitions and references and module data.

At link time, -qextchk verifies that actual arguments agree in type, shape, passing mode, and class with the corresponding dummy arguments and that declarations of common blocks and modules are consistent.

If null arguments are used in a procedure reference, the compiler will not verify that the actual arguments agree with the corresponding dummy arguments at both compile and link time.

Setting the -qdescriptor option will change the compatibility of entities, potentially creating link-time mismatches.

Related information