Thanks for this bug report Andreas! The patch looks pretty straight forward. I'll apply it soon as I can and see how it works at my end.
Thanks again, Dwarf On Sun, 13 Feb 2005 12:37:44 +0100 Andreas Jochens <[EMAIL PROTECTED]> wrote: > Package: spider > Severity: normal > Tags: patch > > When building 'spider' on amd64 with gcc-4.0, > I get the following error: > > In file included from movelog.c:18: > globals.h:93:8: warning: extra tokens at end of #endif directive > movelog.c: In function 'grow_cache': > movelog.c:63: warning: cast to pointer from integer of different size > movelog.c:66: warning: incompatible implicit declaration of built-in > function 'exit' movelog.c: At top level: > movelog.c:303: error: static declaration of 'card_to_int' follows > non-static declaration movelog.c:43: error: previous implicit > declaration of 'card_to_int' was here movelog.c:791: error: static > declaration of 'restore_game' follows non-static declaration > movelog.c:723: error: previous implicit declaration of 'restore_game' > was here make[1]: *** [movelog.o] Error 1 > make[1]: Leaving directory `/spider-1.2' > make: *** [build] Error 2 > > With the attached patch 'spider' can be compiled > on amd64 using gcc-4.0. > > Regards > Andreas Jochens > > diff -urN ../tmp-orig/spider-1.2/movelog.c ./movelog.c > --- ../tmp-orig/spider-1.2/movelog.c 1991-09-28 19:46:17.000000000 +0200 > +++ ./movelog.c 2005-02-13 12:29:24.557252117 +0100 > @@ -33,6 +33,9 @@ > > extern int cheat_count; > > +static int card_to_int(CardPtr card); > +static int restore_game(char *str, char *str2); > + > make_deck_cache() > { > CardPtr tmp; > > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]