--signed_chars, --unsigned_chars

This option makes the char type signed or unsigned.

When char is signed, the macro __FEATURE_SIGNED_CHAR is also 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.

Show/hideDefault

The default is --unsigned_chars.

Show/hideSee also

Copyright © 2010-2011 ARM. All rights reserved.ARM DUI 0491C
Non-ConfidentialID080411