On Sunday, June 29, 2003, at 09:12 am, Stewart Stremler wrote:


% make
gcc -O2 -Wall -I. -o which_lib which_lib.c
gcc -O2 -DGNUSTEP_SYSTEM_ROOT=/usr/local/GNUstep/System \
      -Wall -I. -o user_home user_home.c
user_home.c: In function `main':
user_home.c:278: warning: subscript has type `char'
user_home.c:280: warning: subscript has type `char'
user_home.c:282: warning: subscript has type `char'
user_home.c:284: warning: subscript has type `char'
user_home.c:289: warning: subscript has type `char'
user_home.c:291: warning: subscript has type `char'
user_home.c:354: warning: subscript has type `char'
user_home.c:356: warning: subscript has type `char'
user_home.c:358: warning: subscript has type `char'
user_home.c:360: warning: subscript has type `char'
%

All of these are taken care of by inserting a cast-to-int in the
isspace() functions calls at the appropriate lines.

An annoyingly picky compiler version ... I've added the casts to the code in CVS. You can either update to that version or just ignore the warnings.



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

Reply via email to