draft ANSI standard: are chars signed?

John Gilmore gnu at hoptoad.uucp
Fri Dec 19 19:41:58 AEST 1986


Four or ten people have taken me to task for saying that having "char"
be either signed or unsigned has "broken code".  They are right, it
doesn't break any code.  It just continues to make all such code
nonportable, which is the current state of such code.  Joe Mueller also
points out that the proper way to make such code portable is to add
"signed" and "unsigned" declarations such that you never declare
anything "char" where it matters.

Mea Culpa...
-- 
John Gilmore  {sun,ptsfa,lll-crg,ihnp4}!hoptoad!gnu   jgilmore at lll-crg.arpa
Call +1 800 854 7179 or +1 714 540 9870 and order X3.159-198x (ANSI C) for $65.
Then spend two weeks reading it and weeping.  THEN send in formal comments! 



More information about the Comp.lang.c mailing list