-uchar_size

Allows changing the format for unsigned char (by default 8-bit).

Syntax
  -uchar_size 1 | 2 | 4  

The arguments are as follows:

1 : 8-bit

2 : 16-bit

4 : 32-bit

Default

1

Defines
  __CHAR_IS_8BIT__  
  __CHAR_IS_16BIT__  
  __CHAR_IS_32BIT__  
Remarks

For integrity and compliance to ANSI, the following must hold:

  sizeof(char) <= sizeof(short)  
Note: Be careful if you change type sizes. Type sizes must be consistent over the whole application. The libraries delivered with the compiler are compiled with the standard type settings. Also, underflows or overflows might occur following type configuration, for example when you assign a value too large to an object which is now smaller.

For more information, refer to the topic Data Types.