extchk

Option Type Default Value #pragma options C C++
-qoption noextchk EXTCHK x x

Syntax

    -qextchk | -qnoextchk 
    EXTCHK | NOEXTCHK 

Purpose
Generates bind-time type checking information and checks for compile-time consistency.

Notes
-qextchk checks for consistency at compile time and detects mismatches across compilation units at link time.

-qextchk does not perform type checking on functions or objects that contain references to incomplete types.

Example
To compile myprogram.c so that bind-time checking information is produced, enter:

xlC myprogram.c -qextchk


List of Batch Compiler Options and Their Defaults
Options that Define the Compiler Object Code Produced
Equivalent Batch Compile-Link and Incremental Build Options