check-uninit

Determines whether checking occurs for uninitialized variables.

IDE Equivalent

Windows: None

Linux: Runtime > Check Uninitialized Variables

Mac OS: None

Architectures

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

Syntax

Linux and Mac OS: -check-uninit
  -no-check-uninit
Windows:    None

Arguments

None

Default

-no-check-uninit

Description

Enables run-time checking for uninitialized variables. 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