Everything

 

-Xenum_type


This option specifies which integer type the enumeration type handles.

[Specification format]

-Xenum_type=string

 

-

Interpretation when omitted

The enumeration type is handled as signed int.

[Detailed description]

-

This option specifies which integer type the enumeration type handles.

-

The items that can be specified as string are shown below.
An error will occur if any other item is specified.

auto

Each enumerated type is handled as the smallest integer type capable of expressing all the enumerators in that type.

 

-

An error will occur if string is omitted.

[Example of use]

-

To handle each enumerated type as the smallest integer type capable of expressing all the enumerators in that type, describe as:

>ccrh -Xenum_type=auto -Xcommon=rh850 main.c