8.71 --enum_is_int

Forces the size of all enumeration types to be at least four bytes.

Note

ARM does not recommend the --enum_is_int option for general use.

Default

This option is switched off by default. The smallest data type that can hold the values of all enumerators is used. However, if you specify an ARM Linux configuration file on the command line, --enum_is_int is switched on by default.

Related reference
8.9 --arm_linux_config_file=path
8.10 --arm_linux_configure
8.108 --interface_enums_are_32_bit
11.4 Structures, unions, enumerations, and bitfields in ARM C and C++
Non-ConfidentialPDF file icon PDF versionARM DUI0472J
Copyright © 2010-2013 ARM. All rights reserved.