Determines whether the compiler initializes based variables without an INITIAL attribute and without a NOINIT attribute.
Syntax
-initbased
-noinitbased
Behavior
- -initbased
- The compiler to initializes based variables without an INITIAL attribute and without a NOINIT attribute. This option acts
like -initauto, except for based variables.
- -noinitbased
- The compiler does not initialize based variables without an INITIAL attribute and without a NOINIT attribute.
Comments
Programs having data items that are not explicitly initialized before first use are not considered to be technically correct.