Wcheck

Tells the compiler to perform compile-time code checking for certain code.

IDE Equivalent

Linux: Compilation Diagnostics > Allow Usage Messages

Architectures

IA-32, IntelŪ EM64T, IntelŪ ItaniumŪ architecture

Syntax

Linux: -Wcheck
Windows:    /Wcheck

Arguments

None

Default

OFF      No compile-time code checking is performed.

Description

This option tells the compiler to perform compile-time code checking for certain code. It specifies to check for code that exhibits non-portable behavior, represents a possible unintended code sequence, or possibly affects operation of the program because of a quiet change in the ANSI C Standard.

Alternate Options

None