Contents | Prev | Next

3.1.2.2.45 -v* Trap use of inactive variants

This command-line compiler option enables/disables variant checking.

Syntax: -v[+|-]

Default: Enabled

Notes: When variant checking is enabled the compiler generates code to check each time a field of a variant, is accessed, to make sure that the variant is active.

Contents | Prev | Next