Greetings!

I don't know the best approach for submitting feedback, so I'm guessing.
I got this email address from the FAQ, so I hope it's headed to the
right place...

I recently downloaded gnustep-make-1.7.1, and compiled it on my solaris
machine.   Here are the relevant details:

% uname -a
SunOS straumli 5.8 Generic_108528-17 sun4u sparc SUNW,Sun-Blade-100
% gcc --version
gcc (GCC) 3.3
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
%

When I compile the package, I get a number of warnings:

% 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. 

Should I use diff and submit a patch-type file? Should I check out a
copy of the project with CVS and use that in some way?


Here is the full script file of the extract-configure-compile:

Script started on Sun Jun 29 01:03:16 2003
% ls
compile.history             gnustep-make-1.7.1.tar.gz
% gunzip gnustep-make-1.7.1.tar.gz 
% tar xf gnustep-make-1.7.1.tar 
% ls
compile.history          gnustep-make-1.7.1/      gnustep-make-1.7.1.tar
% cd gnustep-make-1.7.1
/users/stremler/Code/ObjC/GS/X/gnustep-make-1.7.1
% ./configure
configure: loading site script /usr/local/GNUstep/System/share/config.site
Processing GNUstep site configuration
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking build system type... sparc-sun-solaris2.8
checking host system type... sparc-sun-solaris2.8
checking target system type... sparc-sun-solaris2.8
checking for library combo... gnu-gnu-gnu
checking for ar... ar
checking for dlltool... no
checking for ranlib... ranlib
checking for a BSD-compatible install... ./install-sh -c
checking whether ln -s works... yes
checking for gnutar... no
checking for gtar... no
checking for chown... chown
checking for GNUSTEP_SYSTEM_ROOT to use... /usr/local/GNUstep/System
checking for GNUSTEP_LOCAL_ROOT to use... /usr/local/GNUstep/Local
checking for GNUSTEP_NETWORK_ROOT to use... /usr/local/GNUstep/Network
checking for custom shared objc library... NONE
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for unistd.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking dir.h usability... no
checking dir.h presence... no
checking for dir.h... no
checking for string.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for sys/types.h... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking for sys/stat.h... (cached) yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking for unistd.h... (cached) yes
checking for getpwnam... yes
checking for getpwuid... yes
checking for geteuid... yes
checking for getlogin... yes
checking for strchr... yes
checking whether objc has thread support... yes: -lpthread -lposix4
checking if the compiler supports autodependencies... ./configure: test: 3.3: integer 
expression expected
no: gcc major version is 3.3
checking whether to disable compiler warnings about deprecated import... no
configure: *** WARNING any old GNUstep directories installed before gnustep-make 1.7.0 
will be moved to the new locations unless disabled in configure
checking for the version of gnustep-make we are compiling... 1.7.1
configure: creating ./config.status
config.status: creating config.make
config.status: creating openapp
config.status: creating debugapp
config.status: creating opentool
config.status: creating executable.template
config.status: creating GNUmakefile
config.status: creating GNUstep.sh
config.status: creating GNUstep.csh
config.status: creating fixpath.sh
config.status: creating gnustep-make.spec
config.status: creating Documentation/GNUmakefile
config.status: creating config.h
config.status: executing default commands
% 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'
% exit
script done on Sun Jun 29 01:04:42 2003


-Stewart "ThunderChicken in #gnustep" Stremler


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

Reply via email to