Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Warnings for new generation of GCC.



I'm not a member of the workers group, but maybe this has not been
discussed yet.

I'm running (on Linux) some sort of intermediate gcc between 2.7.2 and
the upcoming release, and it seems there have been more warnings added
to -Wall. If you want a 3.0 release that compiles without warning for
a while, the appended list might be worth a look.

Regards,

Rob Hooft.

amigo[145]zsh-3.0-pre3% make            
./config.status --recheck
running /bin/sh ./configure  --prefix=/usr --no-create --no-recursion
creating cache ./config.cache
configuring for zsh 3.0-pre3
checking host system type... i586-unknown-linux
...
updating cache ./config.cache
creating ./config.status

zsh configuration
-----------------
zsh version           : 3.0-pre3
host operating system : linux
source code location  : .
compiler              : gcc
compiler flags        :  -Wall -Wno-implicit -Wmissing-prototypes -O2 -DDEBUG
binary install path   : /usr/bin
man page install path : /usr/man
info install path     : /usr/info

CONFIG_FILES=Makefile CONFIG_HEADERS= ./config.status
creating Makefile
cd . && autoheader
configure.in:228: warning: AC_TRY_RUN called without default to allow cross compiling
configure.in:381: warning: AC_TRY_RUN called without default to allow cross compiling
echo > ./stamp-h.in
CONFIG_FILES= CONFIG_HEADERS=config.h ./config.status
creating config.h
cd Src && make CC='gcc' CPPFLAGS='' DEFS='-DHAVE_CONFIG_H' CFLAGS='-Wall -Wno-implicit -Wmissing-prototypes -O2 -DDEBUG' LDFLAGS='' LIBS='-ltermcap' prefix='/usr' exec_prefix='/usr' bindir='/usr/bin' infodir='/usr/info' mandir='/usr/man' manext='1'
make[1]: Entering directory `/scr/done/zsh-3.0-pre3/Src'
cd .. && CONFIG_FILES=Src/Makefile CONFIG_HEADERS= ./config.status
creating Src/Makefile
make[1]: Leaving directory `/scr/done/zsh-3.0-pre3/Src'
make[1]: Entering directory `/scr/done/zsh-3.0-pre3/Src'
sed -n -f ./makepro.sed builtin.c > builtin.pro
...
sed -n -f ./makepro.sed zle_tricky.c > zle_tricky.pro
gcc -c -I.. -I. -I.  -DHAVE_CONFIG_H -Wall -Wno-implicit -Wmissing-prototypes -O2 -DDEBUG builtin.c
gcc -c -I.. -I. -I.  -DHAVE_CONFIG_H -Wall -Wno-implicit -Wmissing-prototypes -O2 -DDEBUG compat.c
compat.c: In function `zgetcwd':
compat.c:159: warning: comparison between signed and unsigned
gcc -c -I.. -I. -I.  -DHAVE_CONFIG_H -Wall -Wno-implicit -Wmissing-prototypes -O2 -DDEBUG cond.c
gcc -c -I.. -I. -I.  -DHAVE_CONFIG_H -Wall -Wno-implicit -Wmissing-prototypes -O2 -DDEBUG exec.c
gcc -c -I.. -I. -I.  -DHAVE_CONFIG_H -Wall -Wno-implicit -Wmissing-prototypes -O2 -DDEBUG glob.c
glob.c: In function `qualsize':
glob.c:2359: warning: comparison between signed and unsigned
glob.c:2360: warning: comparison between signed and unsigned
glob.c:2361: warning: comparison between signed and unsigned
gcc -c -I.. -I. -I.  -DHAVE_CONFIG_H -Wall -Wno-implicit -Wmissing-prototypes -O2 -DDEBUG hashtable.c
gcc -c -I.. -I. -I.  -DHAVE_CONFIG_H -Wall -Wno-implicit -Wmissing-prototypes -O2 -DDEBUG hist.c
gcc -c -I.. -I. -I.  -DHAVE_CONFIG_H -Wall -Wno-implicit -Wmissing-prototypes -O2 -DDEBUG init.c
init.c: In function `main':
init.c:43: warning: return type of `main' is not `int'
gcc -c -I.. -I. -I.  -DHAVE_CONFIG_H -Wall -Wno-implicit -Wmissing-prototypes -O2 -DDEBUG input.c
gcc -c -I.. -I. -I.  -DHAVE_CONFIG_H -Wall -Wno-implicit -Wmissing-prototypes -O2 -DDEBUG jobs.c
gcc -c -I.. -I. -I.  -DHAVE_CONFIG_H -Wall -Wno-implicit -Wmissing-prototypes -O2 -DDEBUG lex.c
gcc -c -I.. -I. -I.  -DHAVE_CONFIG_H -Wall -Wno-implicit -Wmissing-prototypes -O2 -DDEBUG linklist.c
gcc -c -I.. -I. -I.  -DHAVE_CONFIG_H -Wall -Wno-implicit -Wmissing-prototypes -O2 -DDEBUG loop.c
gcc -c -I.. -I. -I.  -DHAVE_CONFIG_H -Wall -Wno-implicit -Wmissing-prototypes -O2 -DDEBUG math.c
gcc -c -I.. -I. -I.  -DHAVE_CONFIG_H -Wall -Wno-implicit -Wmissing-prototypes -O2 -DDEBUG mem.c
mem.c: In function `halloc':
mem.c:243: warning: comparison between signed and unsigned
gcc -c -I.. -I. -I.  -DHAVE_CONFIG_H -Wall -Wno-implicit -Wmissing-prototypes -O2 -DDEBUG params.c
gcc -c -I.. -I. -I.  -DHAVE_CONFIG_H -Wall -Wno-implicit -Wmissing-prototypes -O2 -DDEBUG parse.c
gcc -c -I.. -I. -I.  -DHAVE_CONFIG_H -Wall -Wno-implicit -Wmissing-prototypes -O2 -DDEBUG signals.c
gcc -c -I.. -I. -I.  -DHAVE_CONFIG_H -Wall -Wno-implicit -Wmissing-prototypes -O2 -DDEBUG subst.c
subst.c: In function `paramsubst':
subst.c:1020: warning: comparison between signed and unsigned
gcc -c -I.. -I. -I.  -DHAVE_CONFIG_H -Wall -Wno-implicit -Wmissing-prototypes -O2 -DDEBUG text.c
gcc -c -I.. -I. -I.  -DHAVE_CONFIG_H -Wall -Wno-implicit -Wmissing-prototypes -O2 -DDEBUG utils.c
utils.c: In function `colonsplit':
utils.c:1442: warning: comparison between signed and unsigned
gcc -c -I.. -I. -I.  -DHAVE_CONFIG_H -Wall -Wno-implicit -Wmissing-prototypes -O2 -DDEBUG watch.c
gcc -c -I.. -I. -I.  -DHAVE_CONFIG_H -Wall -Wno-implicit -Wmissing-prototypes -O2 -DDEBUG zle_bindings.c
gcc -c -I.. -I. -I.  -DHAVE_CONFIG_H -Wall -Wno-implicit -Wmissing-prototypes -O2 -DDEBUG zle_hist.c
zle_hist.c: In function `doisearch':
zle_hist.c:695: warning: comparison between signed and unsigned
gcc -c -I.. -I. -I.  -DHAVE_CONFIG_H -Wall -Wno-implicit -Wmissing-prototypes -O2 -DDEBUG zle_main.c
gcc -c -I.. -I. -I.  -DHAVE_CONFIG_H -Wall -Wno-implicit -Wmissing-prototypes -O2 -DDEBUG zle_misc.c
gcc -c -I.. -I. -I.  -DHAVE_CONFIG_H -Wall -Wno-implicit -Wmissing-prototypes -O2 -DDEBUG zle_move.c
gcc -c -I.. -I. -I.  -DHAVE_CONFIG_H -Wall -Wno-implicit -Wmissing-prototypes -O2 -DDEBUG zle_refresh.c
zle_refresh.c: In function `refresh':
zle_refresh.c:199: warning: `tosln' might be used uninitialized in this function
gcc -c -I.. -I. -I.  -DHAVE_CONFIG_H -Wall -Wno-implicit -Wmissing-prototypes -O2 -DDEBUG zle_tricky.c
zle_tricky.c: In function `checkparams':
zle_tricky.c:429: warning: comparison between signed and unsigned
zle_tricky.c: In function `selectlist':
zle_tricky.c:3728: warning: comparison between signed and unsigned
gcc -c -I.. -I. -I.  -DHAVE_CONFIG_H -Wall -Wno-implicit -Wmissing-prototypes -O2 -DDEBUG zle_utils.c
gcc -c -I.. -I. -I.  -DHAVE_CONFIG_H -Wall -Wno-implicit -Wmissing-prototypes -O2 -DDEBUG zle_vi.c
gcc -c -I.. -I. -I.  -DHAVE_CONFIG_H -Wall -Wno-implicit -Wmissing-prototypes -O2 -DDEBUG zle_word.c
gcc  -o zsh builtin.o compat.o cond.o exec.o glob.o hashtable.o hist.o init.o input.o jobs.o lex.o linklist.o loop.o math.o mem.o params.o parse.o signals.o subst.o text.o utils.o watch.o zle_bindings.o zle_hist.o zle_main.o zle_misc.o zle_move.o zle_refresh.o zle_tricky.o zle_utils.o zle_vi.o zle_word.o -ltermcap


-- 
=== Rob.Hooft@xxxxxxxxxxxxxxxxxx   http://www.Sander.EMBL-Heidelberg.DE/rob/ ==
==== In need of protein modeling?  http://www.Sander.EMBL-Heidelberg.DE/whatif/
Validation of protein structures?  http://biotech.EMBL-Heidelberg.DE:8400/ ====
================ Long Live Linux!  Free Software Rules The World! =============




Messages sorted by: Reverse Date, Date, Thread, Author