All seems to compile ok but I get the following warnings on interix 3.5 flist.c: In function `recv_file_entry': flist.c:840: warning: comparison between signed and unsigned flist.c:874: warning: comparison between signed and unsigned flist.c:876: warning: right shift count >= width of type flist.c: In function `make_file': flist.c:1178: warning: comparison between signed and unsigned flist.c:1224: warning: comparison between signed and unsigned flist.c:1226: warning: right shift count >= width of type popt/findme.c: In function `findProgramPath': popt/findme.c:28: warning: implicit declaration of function `alloca' gcc -std=gnu99 -I. -I. -D_ALL_SOURCE -DHAVE_CONFIG_H -Wall -W -I./popt -Wno-unused-parameter -D_ALL_SOURCE -I/usr/local/include -I/usr/local/ssl/include -c popt/popt.c -o popt/popt.o popt/popt.c: In function `execCommand': popt/popt.c:409: warning: implicit declaration of function `alloca' gcc -std=gnu99 -I. -I. -D_ALL_SOURCE -DHAVE_CONFIG_H -Wall -W -I./popt -Wno-unused-parameter -D_ALL_SOURCE -I/usr/local/include -I/usr/local/ssl/include -c popt/poptconfig.c -o popt/poptconfig.o popt/poptconfig.c: In function `configLine': popt/poptconfig.c:20: warning: implicit declaration of function `alloca' gcc -std=gnu99 -I. -I. -D_ALL_SOURCE -DHAVE_CONFIG_H -Wall -W -I./popt -Wno-unused-parameter -D_ALL_SOURCE -I/usr/local/include -I/usr/local/ssl/include -c popt/popthelp.c -o popt/popthelp.o popt/popthelp.c: In function `showShortOptions': popt/popthelp.c:767: warning: implicit declaration of function `alloca' gcc -std=gnu99 -I. -I. -D_ALL_SOURCE -DHAVE_CONFIG_H -Wall -W -I./popt -Wno-unused-parameter -D_ALL_SOURCE -I/usr/local/include -I/usr/local/ssl/include -c popt/poptparse.c -o popt/poptparse.o popt/poptparse.c: In function `poptParseArgvString': popt/poptparse.c:67: warning: implicit declaration of function `alloca' ===============================================This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster@multiplay.co.uk.
On Wed, Jun 04, 2008 at 02:56:40PM +0100, Steven Hartland wrote:> flist.c:874: warning: comparison between signed and unsigned > flist.c:876: warning: right shift count >= width of type [...]These errors were due to off_t being 32-bit, which wasn't handled well. I have improved that code, and the warnings should be gone. I didn't try to silence the alloca warnings. Thanks for the report! ..wayne..