int8_t typedef problem
Stephen Holford
SHolford at WESCAM.com
Tue Jan 7 13:50:43 UTC 2003
Hi
We have come across an issue with the declaration of the int8_t type in
include/machine/types.h originating from newlib (but patched for rtems
with newlib-1.10.0-rtems-20021127.diff).
Currently it is defined as:
typedef char int8_t;
The problem is that on some targets (like the powerpc) the default type
for a char is unsigned. So the above should read:
typedef signed char int8_t;
to ensure that there is no ambiguity.
Steve
---------------------
Steve Holford, Wescam
More information about the users
mailing list