uint64 flag or uint32 flag[2] for function argument to 32bit compiler?
<p>I have a uint32 variable for some bit field flag state and an enum for these flags. This variable is passed as argument to some functions by value.</p>

<p>I need to add about 20 more flags to it. What are my best options? Extend it to 64 bits or treat it as an array of 2 32bits? </p>

<p>Extending to 64 bits will lead me to use compiler 'extensions', as enum is 32bits wide. But using an array seems to lead to more work.</p>

<p>My code compiles on 32 and 64 bit compilers, and runs on windows, linux and mac.</p>

<p>Thanks in advance.</p>
