Andreas V�gele <[EMAIL PROTECTED]> writes:
>
> I think that the following warnings are caused by a bug in GCC
> 3.3.2.

No it arises from ctype.h supplied by your good friends at hp.

> According to my copy of "Programming in C" it should be okay to
> pass a char instead of an int to iscntrl() etc.

I think it was meant to be an int.  But if you're in 7-bit ascii then
it doesn't make a difference.

> backtrace.c: In function `display_frame_expr':
> backtrace.c:403: warning: subscript has type `char'
>
> numbers.c: In function `mem2uinteger':
> numbers.c:2337: warning: subscript has type `char'
> ...

Thanks, I'll add some casts to "int".  They definitely want casts
through "unsigned char", to protect against 8-bit values.


_______________________________________________
Bug-guile mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-guile

Reply via email to