On Mon, Feb 07, 2005 at 11:30:41AM +, Jacob Nevins wrote:
Some similar changes have been made in the upstream CVS code to keep the
Mac compiler happy. I haven't checked them against your proposals.
0.58 still fails with the gcc-4.0 package in Ubuntu 5.04. Removing
-Werror, I get a successful build and the following warnings:
gcc-4.0 -O2 -Wall -g -I.././ -I../charset/ -I../windows/ -I../unix/ -I../mac/
-I../macosx/ `gtk-config --cflags` -c ../sshzlib.c
../sshzlib.c: In function 'lz77_compress':
../sshzlib.c:204: warning: 'defermatch.distance' may be used uninitialized in
this function
gcc-4.0 -O2 -Wall -g -I.././ -I../charset/ -I../windows/ -I../unix/ -I../mac/
-I../macosx/ `gtk-config --cflags` -c ../tree234.c
../tree234.c: In function 'add234_internal':
../tree234.c:121: warning: 'n' may be used uninitialized in this function
gcc-4.0 -O2 -Wall -g -I.././ -I../charset/ -I../windows/ -I../unix/ -I../mac/
-I../macosx/ `gtk-config --cflags` -c ../unix/gtkdlg.c
../unix/gtkdlg.c: In function 'eventlog_selection_get':
../unix/gtkdlg.c:2612: warning: pointer targets in passing argument 4 of
'gtk_selection_data_set' differ in signedness
gcc-4.0 -O2 -Wall -g -I.././ -I../charset/ -I../windows/ -I../unix/ -I../mac/
-I../macosx/ `gtk-config --cflags` -c ../unix/gtkwin.c
../unix/gtkwin.c: In function 'init_cutbuffers':
../unix/gtkwin.c:1433: warning: pointer targets in passing argument 7 of
'XChangeProperty' differ in signedness
../unix/gtkwin.c:1435: warning: pointer targets in passing argument 7 of
'XChangeProperty' differ in signedness
../unix/gtkwin.c:1437: warning: pointer targets in passing argument 7 of
'XChangeProperty' differ in signedness
../unix/gtkwin.c:1439: warning: pointer targets in passing argument 7 of
'XChangeProperty' differ in signedness
../unix/gtkwin.c:1441: warning: pointer targets in passing argument 7 of
'XChangeProperty' differ in signedness
../unix/gtkwin.c:1443: warning: pointer targets in passing argument 7 of
'XChangeProperty' differ in signedness
../unix/gtkwin.c:1445: warning: pointer targets in passing argument 7 of
'XChangeProperty' differ in signedness
../unix/gtkwin.c:1447: warning: pointer targets in passing argument 7 of
'XChangeProperty' differ in signedness
../unix/gtkwin.c: In function 'selection_get':
../unix/gtkwin.c:1568: warning: pointer targets in passing argument 4 of
'gtk_selection_data_set' differ in signedness
../unix/gtkwin.c:1572: warning: pointer targets in passing argument 4 of
'gtk_selection_data_set' differ in signedness
../unix/gtkwin.c:1575: warning: pointer targets in passing argument 4 of
'gtk_selection_data_set' differ in signedness
../unix/gtkwin.c: In function 'do_cmdline':
../unix/gtkwin.c:2451: warning: pointer targets in passing argument 4 of
'XParseGeometry' differ in signedness
../unix/gtkwin.c:2451: warning: pointer targets in passing argument 5 of
'XParseGeometry' differ in signedness
gcc-4.0 -O2 -Wall -g -I.././ -I../charset/ -I../windows/ -I../unix/ -I../mac/
-I../macosx/ `gtk-config --cflags` -c ../cmdgen.c
../cmdgen.c: In function 'blobfp':
../cmdgen.c:235: warning: pointer targets in passing argument 2 of 'MD5Update'
differ in signedness
../cmdgen.c: In function 'main':
../cmdgen.c:699: warning: pointer targets in passing argument 1 of
'ssh1_read_bignum' differ in signedness
../cmdgen.c:705: warning: pointer targets in passing argument 1 of
'ssh1_read_bignum' differ in signedness
../cmdgen.c:877: warning: pointer targets in assignment differ in signedness
../cmdgen.c:889: warning: pointer targets in assignment differ in signedness
../cmdgen.c:909: warning: pointer targets in passing argument 1 of
'base64_encode_atom' differ in signedness
FYI,
--
Colin Watson [EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]