Subject: Re: isspace and compiler warnings
To: None <tech-userlevel@netbsd.org>
From: Joerg Sonnenberger <joerg@britannica.bec.de>
List: tech-userlevel
Date: 10/18/2006 16:09:30
On Wed, Oct 18, 2006 at 08:42:57AM -0400, Greg Troxel wrote:
> man isspace says that it is a function taking an int.

Continue to CAVEATS. This should maybe be made more obvious though.

> But, our implementation is a macro, so promotion doesn't happen and
> the warning occurs due to the expansion.

Wrong problem. As explained in the man page, the value range is the
issue. Negative values stay negative.

Joerg