ENUM
Specifies the number of bytes the compiler uses to represent enumerations. This becomes the default enumeration size for the object. A #pragma enum directive overrides this compile option.
The ENUM option affects
only unscoped enumerations that have no fixed underlying type. For enumerations with a fixed
underlying type, the ENUM option is ignored.
- *SMALL
- Default setting. Use the smallest possible size for an enum, as appropriate to the given enum value.
- 1
- Make all enum variables 1 byte in size, signed if possible
- 2
- Make all enum variables 2 bytes in size, signed if possible
- 4
- Make all enum variables 4 bytes in size, signed if possible
- *INT
-
Use the ANSI C Standard enum size ( 4-bytes signed).
Use the ANSI C++ Standard enum size ( 4-bytes signed; unless the enumeration value >
231-1).
