Developer Guide and Reference

Contents

Wuninitialized

Determines whether a warning is issued if a variable is used before being initialized.

Syntax

Linux:
-Wuninitialized
-Wno-uninitialized
macOS:
-Wuninitialized
-Wno-uninitialized
Windows:
None
Arguments
None
Default
-Wno-uninitialized
No warning is issued if a variable is used before being initialized.
Description
This option determines whether a warning is issued if a variable is used before being initialized. Equivalent to
-ww592
and
-wd592
.
Alternate Options
-ww592
and
-wd592