Wcheck

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

IDE Equivalent

Windows: None

Linux: Compilation Diagnostics > Allow Usage Messages

Mac OS: Diagnostics > Allow Usage Messages

Architectures

IA-32 architecture, Intel® 64 architecture, IA-64 architecture

Syntax

Linux and Mac OS: -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