Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Casting ctype lookups



On Thu, Nov 15, 2012 at 06:46:07AM -0500, D'Arcy J.M. Cain wrote:
 > > standard mistake is to pass values of type char; on platforms where
 > > the unqualified char type is signed, which is most of them, values
 > 
 > As I recently posted, even if I add -funsigned-char to the compile I
 > still get the warning.  It seems that gcc ignores its own flag.

No, you failed to read the explanation thoroughly enough; your code is
wrong.

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index