<aname="l3"></a>Use </span><ahref="https://tomawezome.github.io/ZealOS/Compiler/CMisc.CC.html#l1"><spanclass=cF4>Option</span></a><spanclass=cF0>(). You might need to do </span><spanclass=cF2>#exe {Option();}</span><spanclass=cF0>.
<aname="l5"></a></span><ahref="https://tomawezome.github.io/ZealOS/Kernel/KernelA.HH.html#l1684"><spanclass=cF4>OPTf_GLOBALS_ON_DATA_HEAP</span></a><spanclass=cF0> without this option, global vars are placed in the code heap which is limited to 2Gig. In </span><spanclass=cF2>AOT</span><spanclass=cF0>
<aname="l6"></a>modules, global vars take-up room in the </span><spanclass=cF2>.BIN</span><spanclass=cF0> file, so you might want to use this option, instead. You might wish to turn it on
<aname="l7"></a>and off around specific vars. A disadvantage of data heap global vars in </span><spanclass=cF2>AOT</span><spanclass=cF0> modules is they can't be initialized.
<aname="l9"></a></span><ahref="https://tomawezome.github.io/ZealOS/Kernel/KernelA.HH.html#l1681"><spanclass=cF4>OPTf_EXTERNS_TO_IMPORTS</span></a><spanclass=cF0> and </span><ahref="https://tomawezome.github.io/ZealOS/Kernel/KernelA.HH.html#l1682"><spanclass=cF4>OPTf_KEEP_PRIVATE</span></a><spanclass=cF0> are strange options, you'll never need. They're to allow the same header file for </span><spanclass=cF2>
<aname="l10"></a>Kernel</span><spanclass=cF0> to act as </span><spanclass=cF2>extern</span><spanclass=cF0>s when compiling itself and </span><spanclass=cF2>import</span><spanclass=cF0>s when compiled by </span><spanclass=cF2>AOT</span><spanclass=cF0> modules.
<aname="l12"></a></span><ahref="https://tomawezome.github.io/ZealOS/Kernel/KernelA.HH.html#l1677"><spanclass=cF4>OPTf_WARN_UNUSED_VAR</span></a><spanclass=cF0> warning if unused var. It is applied to functions.
<aname="l14"></a></span><ahref="https://tomawezome.github.io/ZealOS/Kernel/KernelA.HH.html#l1678"><spanclass=cF4>OPTf_WARN_PAREN</span></a><spanclass=cF0> warning if parenthesis are not needed.
<aname="l16"></a></span><ahref="https://tomawezome.github.io/ZealOS/Kernel/KernelA.HH.html#l1679"><spanclass=cF4>OPTf_WARN_DUP_TYPES</span></a><spanclass=cF0> warning if dup local var type statements.
<aname="l18"></a></span><ahref="https://tomawezome.github.io/ZealOS/Kernel/KernelA.HH.html#l1680"><spanclass=cF4>OPTf_WARN_HEADER_MISMATCH</span></a><spanclass=cF0> warning if fun header does not match.
<aname="l20"></a></span><ahref="https://tomawezome.github.io/ZealOS/Kernel/KernelA.HH.html#l1683"><spanclass=cF4>OPTf_NO_REG_VAR</span></a><spanclass=cF0> forces all function local vars to the stack not regs. Applied to functions.