warning: type mismatch in shell/cmdedit.c

Paul Fox pgf at brightstareng.com
Fri Mar 3 08:34:49 PST 2006


 > > > /home/rpjday/SW/busybox/shell/cmdedit.c:1453: warning: case label
 > > > value exceeds maximum value for type
 > > > /home/rpjday/SW/busybox/shell/cmdedit.c:1454: warning: case label
 > > > value exceeds maximum value for type
 > > > ... etc etc ...
 > > >
 > > > "c" is declared as unsigned char but the case label values are
 > > > character literals which make them of type int, no?  not fatal, just
 > > > annoying.
 > >
 > > Ahh. Robert is right. Without VI mode this problem exist.
 > > Also. I started support UTF-8 mode in cmdedit.
 > > demo variant placed
 > > ftp://ftp.simtreas.ru/pub/my/bb/new
 > > its have problem with VI mode, i do not like this mode
 > > and do not change this code. Help me with this.
 > >
 > > Robert. I denied access to SVN now and can`t help to you.
 > 
 > i'm not asking for write access or anything to fix this, i'm just
 > making observations on the things i find.  i'm assuming someone else
 > will follow up if they think it's worth it.

well, i'm the author of (and probably the world's only known user of)
the vi-mode editing code, so i'll take a look at this next week.  robert --
what compiler are you using?

vodz -- i'll take a look at your utf-8 version as well.

paul
=---------------------
 paul fox, pgf at brightstareng.com


More information about the busybox mailing list