bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gnustep-make-1.7.1


From: Richard Frith-Macdonald
Subject: Re: gnustep-make-1.7.1
Date: Sun, 29 Jun 2003 16:01:01 +0100


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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]