Re: Patch for isdigit/isalpha/etc. macro arguments

Daniel Jacobowitz
2007-04-10T21:21:30Z

On Tue, Apr 10, 2007 at 02:16:16PM -0700, Steve Ellcey wrote:
> Well, this discussion was very interesting but I am not sure it led
> anywhere. If casting to '(int)' is unacceptable, double casting to
> '(int) (unsigned char)' is probably even less acceptable so I would like
> to check in the following patch that turns off the warnings so I can
> build on HPPA HP-UX.
>
> Tested by building on HPPA HP-UX.
>
> OK to checkin?

I think we should decide whether this constitutes a Real Problem,
and whether we care about it, before we do this. It seems that
passing a char to isfoo is not portable, although I could not tell for
sure from the discussion whether ISO C requires it to work.

--
Daniel Jacobowitz
CodeSourcery