Intel® C++ Compiler XE 13.1 User and Reference Guides

check-uninit

Determines whether checking occurs for uninitialized variables. This option is deprecated. It has been replaced with option -check=uninit.

IDE Equivalent

Windows: None

Linux: Runtime > Check Uninitialized Variables

OS X: Runtime > Check Uninitialized Variables

Architectures

All

Syntax

Linux and OS X:

-check-uninit

-no-check-uninit

Windows:

None

Arguments

None

Default

-no-check-uninit

No checking occurs for uninitialized variables.

Description

This option determines whether checking occurs for uninitialized variables. Option -check-uninit enables this checking.

If a variable is read before it is written, a run-time error routine will be called.

Run-time checking of undefined variables is only implemented on local, scalar variables. It is not implemented on dynamically allocated variables, extern variables or static variables. It is not implemented on structs, classes, unions or arrays.

Alternate Options

None

See Also


Submit feedback on this help topic