enums_signed

Changes the underlying enumeration type search order.

Syntax
#pragma enums_signed on | off | reset
  
Remarks

Enabling this option changes the underlying enumeration type search order. The underlying type for an enumeration where all enumerators are >= 0 is the first one of these types in which all values can be represented:

signed char (*)

unsigned char

signed short (*)

unsigned short

signed int (*)

unsigned int

signed long (*)

unsigned long

signed long long (*)

unsigned long long

Types with (*) are only considered with "#pragma enums_signed on". This option has no effect when #pragma enumsalwaysint is "on".

Related information
aggressive_inline
dont_reuse_strings
enumsalwaysint
errno_name
explicit_zero_data
float_constants
instmgr_file
longlong
longlong_enums
min_enum_size
pool_strings
readonly_strings
reverse_bitfields
store_object_files