-signed_char


This option specifies that a char type without a signed or unsigned specifier is handled as a signed type.

[Specification format]

-signed_char

 

-

Interpretation when omitted

A char type without a signed or unsigned specifier as an unsigned type.

[Detailed description]

-

When integer promotion is applied to a char type without a signed or unsigned specifier, it is handled as a signed type.

-

This option affects the predefined macros.

-

This option does not have effect on bit fields.
Use the -signed_bitfield option for bit fields.

[Example of use]

-

To specify that a char type without a signed or unsigned specifier is handled as a signed type, describe as:

>ccrl -signed_char -cpu=S2 -dev=dr5f100pj.dvf main.c