On Sun, 10 Jan 2010, Patrick Horgan wrote:

> But in the new compilers it's an integer type, not a character type--from the
> spec:

signed char is a signed integer type, and unsigned char is an unsigned 
integer type.  (char is neither, although it behaves the same as one of 
signed char and unsigned char, so char is not a valid choice for any of 
the intN_t and uintN_t typedefs.)  These types are also character types.

Though it might be useful to have extended integer types for int8_t and 
uint8_t that don't have the special aliasing properties of character 
types, as suggested in <http://gcc.gnu.org/ml/gcc/2000-05/msg01106.html>, 
this has not been implemented.

-- 
Joseph S. Myers
jos...@codesourcery.com

Reply via email to