problem with safe-ctype.h

Neil Booth neil@daikokuya.demon.co.uk
Sat Dec 16 02:52:00 GMT 2000


Herman ten Brugge wrote:-

> I still don't understand. Sorry. What is the difference between:
> '(int)(unsigned char)(c)' and '(c) & 0xff'
> The following program does not abort:

That may be a well-known bug in GCC regarding signed chars and shorts.
Have you tried your program on other compilers?

Neil.


More information about the Gcc-patches mailing list