Do not use an enumeration for a bits field
This violates the C standard. Passing a value outside not part of the enumeration is undefined. This obviously excludes bits fields.
Showing
Please register or sign in to comment
This violates the C standard. Passing a value outside not part of the enumeration is undefined. This obviously excludes bits fields.