Date: Mon, 8 Sep 1997 20:14:30 -0500 (CDT) From: Andrew Deren To: Paul Derbyshire cc: djgpp AT delorie DOT com Subject: Re: WHAM_2B.ZIP defective In-Reply-To: <5v1u44$m3r@freenet-news.carleton.ca> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On 8 Sep 1997, Paul Derbyshire wrote: I think that the error you got is caused by the different versions of allegro used. I'm not sure about this but probably wham was done in allegro v2.2 and you are using wip, but I know that definition of textout in allegro changed in some version from char* to unsigned char *, I would suggest changing all the source code lines with this error so that not char* is passed but (unsigned)char* > > > I'm not sure which simtel I downloaded WHAM_2B.ZIP from, but in any case > the copy I got is defective. It won't compile out of the box, and I don't > particularly want to muck around in its guts if I can help it. Make does > about half of it and then blows up: > > [snip] > gcc -O3 -Wall -ffast-math -fomit-frame-pointer -I./include -g -Werror -c src/wo > bject.cc > gcc -O3 -Wall -ffast-math -fomit-frame-pointer -I./include -g -Werror -c src/he > lpers.cc > cc1plus.exe: warnings being treated as errors > src/helpers.cc: In function `void trace(char * ....)': > src/helpers.cc:54: warning: passing `char *' as argument 3 of `textout(BITMAP *, > FONT *, unsigned char *, int, int, int)' changes signedness > src/helpers.cc:55: warning: passing `char *' as argument 3 of `textout(BITMAP *, > FONT *, unsigned char *, int, int, int)' changes signedness > src/helpers.cc: In function `void wham_trans_calc_progress(int)': > src/helpers.cc:67: warning: passing `char *' as argument 3 of `textout(BITMAP *, > FONT *, unsigned char *, int, int, int)' changes signedness > src/helpers.cc: In function `void w_textout(struct BITMAP *, struct FONT *, char > *, int, int, int, int)': > src/helpers.cc:128: warning: passing `char *' as argument 3 of `textout(BITMAP * > , FONT *, unsigned char *, int, int, int)' changes signedness > src/helpers.cc: In function `void w_textout_centre(struct BITMAP *, struct FONT > *, char *, int, int, int, int)': > src/helpers.cc:134: warning: passing `char *' as argument 3 of `textout_centre(B > ITMAP *, FONT *, unsigned char *, int, int, int)' changes signedness > make.exe: *** [helpers.o] Error 1 > > > The errors seem to all be of the same type. This suggests one mistake in > the source that got duplicated frequently. Is just this one ZIP defective, > or is that whole version corrupt? If so...how did it ever get through > testing to get shipped to the FTP sites? (Considering that it took 30 > minutes to download the 150K zip using the flaky modems/protocols of this > ISP, which is time-metered, an awful lot of time seems to have been > invested in nothing...) > -- > .*. Where feelings are concerned, answers are rarely simple [GeneDeWeese] > -() < When I go to the theater, I always go straight to the "bag and mix" > `*' bulk candy section...because variety is the spice of life... [me] > Paul Derbyshire ao950 AT freenet DOT carleton DOT ca, http://chat.carleton.ca/~pderbysh > ,,, (0 0) +-------------oOO----(_)-------------------+ | Andrew Deren | | aderen AT eecs DOT uic DOT edu | | www.eecs.uic.edu/~aderen/ader/main.html | +-------------------------oOO--------------+ || || ooO Ooo