‑‑enum_is_int
In this section:
Syntax
‑‑enum_is_int
Description
Use this option to force the size of all enumeration types to be at least 4 bytes. If you use this option when you compile a source file that uses a specific enum type, each source file that uses that enum type must be compiled using this option.
Note
This option will not consider the fact that an enum type can be larger than an integer type.
See also
Caution
To set this option, use Project>Options>C/C++ Compiler>Extra Options.