Signedness of chars

Paul Hilfinger hilfingr at tully.Berkeley.EDU.berkeley.edu
Fri Mar 4 08:15:52 AEST 1988


Does anyone know of widely-used programs that depend on the type
`char' being signed?  That is, how many programs would break if
`unsigned char' and `char' were the same type?

One should not depend on chars being signed, but not all programmers
are reluctant to use implementation-dependent features with abandon.

Thanks for your comments.

Paul Hilfinger
hilfingr at ginger.Berkeley.EDU



More information about the Comp.lang.c mailing list