Subject: Re: isspace(char) can't be used with -Wall -Werror
To: None <email@example.com>
From: Magnus Henoch <firstname.lastname@example.org>
Date: 03/31/2006 01:00:53
email@example.com (Christos Zoulas) writes:
> It is a feature. Linphone should be fixed to read isspace((unsigned char)d).
Ah... now I see. If (unsigned char)'X' > 127, then (int)(signed
char)'X' != (int)(unsigned char)'X'. That didn't appear to me
before. Thanks for the enlightenment!
In defense of the Linphone developers, their code wasn't as silly as
mine: a function receives a char*, and examines its input. I'll
report this to them.