Path: utzoo!attcan!uunet!kddlab!titcca!sragwa!wsgw!socslgw!diamond From: diamond@csl.sony.JUNET (Norman Diamond) Newsgroups: comp.std.c Subject: Re: How to use toupper() Message-ID: <10021@diamond.csl.sony.JUNET> Date: 27 Jan 89 02:15:02 GMT References: <2537@xyzzy.UUCP> <189@becker.UUCP> <9256@smoke.BRL.MIL> <23261@watmath.waterloo.edu> Organization: Sony Computer Science Laboratory Inc., Tokyo, Japan Lines: 23 In article <9457@smoke.BRL.MIL>, gwyn@smoke.BRL.MIL (Doug Gwyn ) writes: > > macros should be made safe for "signed char" > > arguments. > > The X3J11 response was: > > The Committee has voted against this idea. > > "char" arguments can always be cast to "unsigned char" > > ... the argument *must* be cast to an "unsigned > > char" for such implementations. In article <23261@watmath.waterloo.edu>, rbutterworth@watmath.waterloo.edu (Ray Butterworth) writes: > i.e. to write portable code, the user must put in lots of casts > rather than having the library do the messy stuff. alias cc cc -Dchar="unsigned char" alias X3J11 X3J10.95 alias inews news + fillers -- Norman Diamond, Sony Computer Science Lab (diamond%csl.sony.jp@relay.cs.net) The above opinions are my own. | Why are programmers criticized for If they're also your opinions, | re-inventing the wheel, when car you're infringing my copyright. | manufacturers are praised for it?