This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

sys/types.h int8_t signed or unsigned


In newlib-1.11.0 int8_t is defined as 
	typedef char int8_t;

Out of curiosity, is char known to be signed? I thought it was ambiguous
(signed or unsigned depending on the platform). In which case this
should be
	typedef signed char int8_t;

Also, newlib doesn't provide stdint.h. Should it?

Thanks,
Shaun



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]