check-uninit

Determines whether checking occurs for uninitialized variables.

IDE Equivalent

Windows: None

Linux: Runtime > Check Uninitialized Variables

Mac OS X: Runtime > Check Uninitialized Variables

Architectures

IA-32, Intel® 64 architectures

Syntax

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


Submit feedback on this help topic

Copyright © 1996-2011, Intel Corporation. All rights reserved.