Andreas V�gele <[EMAIL PROTECTED]> writes: > > Yes, but my German copy of "Programming in C, 2nd ed" says in section > A.6.1: "A character [...] can be used everywhere in an expression > where an integer object is required. [...]". And according to section > A.7.3, subscript array references are expressions.
gcc being overly enthusiastic about warnings I suppose. > Since the build only aborts if --enable-maintainer-mode, i.e. -Werror, > is enabled I'd probably keep the "char" values. BTW, I use only one > cast to fix this problem (in backtrace.c). In numbers.c I changed the > type of the variables to "int". That would also work, but you do need to cast through unsigned char, so 8-bit char values don't become negative ints, which are not accepted by c99 ctype.h (though glibc is forgiving of them). _______________________________________________ Bug-guile mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-guile
