2.1.108. --[un]signed_chars

This option makes the char type signed or unsigned.

When char is signed, the macro __FEATURE_SIGNED_CHAR is defined by the compiler.

Note

Care must be taken when mixing translation units that have been compiled with and without this option, and that share interfaces or data structures.

The ARM ABI defines char as an unsigned byte, and this is the interpretation used by the C++ libraries supplied with RVCT.

Default

The default is --unsigned_chars.

See also

Copyright © 2007, 2010 ARM Limited. All rights reserved.ARM DUI 0348A
Non-Confidential