Questions about PGP 2.2 compilation messages
Sorry for the large size of this post, but I want to make sure I'm not the only one who has seen this... This is a log of my compilation of PGP 2.2 on a Sun4... There are some warnings that don't look that serious, by should there be any warnings at all? (I'd prefer the docs mentioned them if they're supposed to be there... but I didn't see any mention in any of the docs...) --- Log Starts --- jupiter [/tmp/i6t4/pgp/pgp22/src] {i6t4.50}% make sun4cc cd unproto && make `cpp' is up to date. make all CC=cc LD=cc OBJS_EXT=sparc.o \ CFLAGS="-Qpath unproto -O -DUNIX -DHIGHFIRST -DIDEA32" cc -Qpath unproto -O -DUNIX -DHIGHFIRST -DIDEA32 -target sun4 -c pgp.c cc -Qpath unproto -O -DUNIX -DHIGHFIRST -DIDEA32 -target sun4 -c crypto.c "crypto.c", line 910: warning: & before array or function: ignored cc -Qpath unproto -O -DUNIX -DHIGHFIRST -DIDEA32 -target sun4 -c keymgmt.c "keymgmt.c", line 471: warning: statement not reached "keymgmt.c", line 478: warning: statement not reached "keymgmt.c", line 490: warning: statement not reached "keymgmt.c", line 497: warning: statement not reached "keymgmt.c", line 508: warning: statement not reached "keymgmt.c", line 516: warning: statement not reached "keymgmt.c", line 519: warning: statement not reached "keymgmt.c", line 524: warning: statement not reached "keymgmt.c", line 529: warning: statement not reached "keymgmt.c", line 534: warning: statement not reached "keymgmt.c", line 538: warning: statement not reached "keymgmt.c", line 587: warning: statement not reached cc -Qpath unproto -O -DUNIX -DHIGHFIRST -DIDEA32 -target sun4 -c fileio.c cc -Qpath unproto -O -DUNIX -DHIGHFIRST -DIDEA32 -target sun4 -c mdfile.c cc -Qpath unproto -O -DUNIX -DHIGHFIRST -DIDEA32 -target sun4 -c more.c cc -Qpath unproto -O -DUNIX -DHIGHFIRST -DIDEA32 -target sun4 -c armor.c cc -Qpath unproto -O -DUNIX -DHIGHFIRST -DIDEA32 -target sun4 -c mpilib.c cc -Qpath unproto -O -DUNIX -DHIGHFIRST -DIDEA32 -target sun4 -c mpiio.c cc -Qpath unproto -O -DUNIX -DHIGHFIRST -DIDEA32 -target sun4 -c genprime.c cc -Qpath unproto -O -DUNIX -DHIGHFIRST -DIDEA32 -target sun4 -c rsagen.c cc -Qpath unproto -O -DUNIX -DHIGHFIRST -DIDEA32 -target sun4 -c random.c cc -Qpath unproto -O -DUNIX -DHIGHFIRST -DIDEA32 -target sun4 -c idea.c cc -Qpath unproto -O -DUNIX -DHIGHFIRST -DIDEA32 -target sun4 -c passwd.c cc -Qpath unproto -O -DUNIX -DHIGHFIRST -DIDEA32 -target sun4 -c md5.c cc -Qpath unproto -O -DUNIX -DHIGHFIRST -DIDEA32 -target sun4 -c system.c cc -Qpath unproto -O -DUNIX -DHIGHFIRST -DIDEA32 -target sun4 -c language.c cc -Qpath unproto -O -DUNIX -DHIGHFIRST -DIDEA32 -target sun4 -c getopt.c cc -Qpath unproto -O -DUNIX -DHIGHFIRST -DIDEA32 -target sun4 -c keyadd.c "keyadd.c", line 760: warning: statement not reached cc -Qpath unproto -O -DUNIX -DHIGHFIRST -DIDEA32 -target sun4 -c config.c cc -Qpath unproto -O -DUNIX -DHIGHFIRST -DIDEA32 -target sun4 -c keymaint.c cc -Qpath unproto -O -DUNIX -DHIGHFIRST -DIDEA32 -target sun4 -c charset.c cc -Qpath unproto -O -DUNIX -DHIGHFIRST -DIDEA32 -target sun4 -c zbits.c cc -Qpath unproto -O -DUNIX -DHIGHFIRST -DIDEA32 -target sun4 -c zdeflate.c cc -Qpath unproto -O -DUNIX -DHIGHFIRST -DIDEA32 -target sun4 -c zfile_io.c cc -Qpath unproto -O -DUNIX -DHIGHFIRST -DIDEA32 -target sun4 -c zglobals.c cc -Qpath unproto -O -DUNIX -DHIGHFIRST -DIDEA32 -target sun4 -c zinflate.c cc -Qpath unproto -O -DUNIX -DHIGHFIRST -DIDEA32 -target sun4 -c zip.c cc -Qpath unproto -O -DUNIX -DHIGHFIRST -DIDEA32 -target sun4 -c zipup.c cc -Qpath unproto -O -DUNIX -DHIGHFIRST -DIDEA32 -target sun4 -c ztrees.c cc -Qpath unproto -O -DUNIX -DHIGHFIRST -DIDEA32 -target sun4 -c zunzip.c as -sparc -o sparc.o sparc.s cc -o pgp pgp.o crypto.o keymgmt.o fileio.o mdfile.o more.o armor.o mpilib.o mp iio.o genprime.o rsagen.o random.o idea.o passwd.o md5.o system.o language.o g etopt.o keyadd.o config.o keymaint.o charset.o zbits.o zdeflate.o zfile_io.o zg lobals.o zinflate.o zip.o zipup.o ztrees.o zunzip.o sparc.o --- Log Ends --- Anyone care to comment? --- Nick MacDonald | NMD on IRC i6t4@jupiter.sun.csd.unb.ca | PGP 2.1 Public key available via finger
-----BEGIN PGP SIGNED MESSAGE----- I looked at the lines where those errors were: It appears to be a #define for SKIP_RETURN. I'm not sure what its about, but I would suggest doing one of two things: 1) Test the heck out of your binary. Make sure it works for all cases that you find important. In particular, see where those particular places in the code are, and see if it is doing the right thing, or 2) Get gcc 2.3.2 (or greater) and compile with that... I use that, and I don't get the errors.. Its possible that unproto is doing something funky, or perhaps its something the compiler is doing with code that says: do { [do somethine here } while(0); I'm not sure, exactly. Sun compiler bugs are not unheard of. ;-) - -derek PGP 2 key available upon request on the key-server: pgp-public-keys@toxicwaste.mit.edu - -- Derek Atkins, MIT '93, Electrical Engineering and Computer Science Secretary, MIT Student Information Processing Board (SIPB) MIT Media Laboratory, Speech Research Group warlord@MIT.EDU PP-ASEL N1NWH -----BEGIN PGP SIGNATURE----- Version: 2.2 iQBuAgUBK50fkjh0K1zBsGrxAQFTlALDBWJ/yZBRTQoRkI7uc0jo7DF1e/J8DfIB N7Q9SmdpLTcyFClOoluNZeqJQQpGGyp0I+VgegcX9Ls3PDkXh8/0wfpexa46p6Ex AAZARjYdyDgZSR8nPv+0YYk= =zCC0 -----END PGP SIGNATURE-----
participants (2)
-
Derek Atkins
-
Nickey MacDonald