Subject: Re: isspace(char) can't be used with -Wall -Werror
To: None <firstname.lastname@example.org>
From: Magnus Henoch <email@example.com>
Date: 03/31/2006 01:00:53
firstname.lastname@example.org (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.