This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]