Your message dated Wed, 12 Oct 2005 11:17:13 -0700 with message-id <[EMAIL PROTECTED]> and subject line Bug#288660: fixed in xarchon 0.50-9 has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database) -------------------------------------- Received: (at submit) by bugs.debian.org; 4 Jan 2005 22:22:31 +0000 >From [EMAIL PROTECTED] Tue Jan 04 14:22:31 2005 Return-path: <[EMAIL PROTECTED]> Received: from c158101.adsl.hansenet.de (localhost.localdomain) [213.39.158.101] by spohr.debian.org with esmtp (Exim 3.35 1 (Debian)) id 1Clx4Q-00066E-00; Tue, 04 Jan 2005 14:22:30 -0800 Received: from aj by localhost.localdomain with local (Exim 4.34) id 1ClxA0-0007t3-TQ; Tue, 04 Jan 2005 23:28:16 +0100 To: Debian Bug Tracking System <[EMAIL PROTECTED]> From: Andreas Jochens <[EMAIL PROTECTED]> Subject: xarchon: FTBFS (amd64/gcc-4.0): static declaration of 'board_frame_time' follows non-static declaration Message-Id: <[EMAIL PROTECTED]> Date: Tue, 04 Jan 2005 23:28:16 +0100 Delivered-To: [EMAIL PROTECTED] X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 (1.212-2003-09-23-exp) on spohr.debian.org X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE autolearn=no version=2.60-bugs.debian.org_2005_01_02 X-Spam-Level: Package: xarchon Severity: normal Tags: patch When building 'xarchon' on amd64 with gcc-4.0, I get the following error: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I../ -g -O2 -Wall -c board.c board.c:169: error: static declaration of 'board_frame_time' follows non-static declaration board.h:77: error: previous declaration of 'board_frame_time' was here make[3]: *** [board.o] Error 1 make[3]: Leaving directory `/xarchon-0.50/src' With the attached patch 'xarchon' can be compiled on amd64 using gcc-4.0. Regards Andreas Jochens diff -urN ../tmp-orig/xarchon-0.50/src/board.h ./src/board.h --- ../tmp-orig/xarchon-0.50/src/board.h 1999-12-03 16:06:12.000000000 +0100 +++ ./src/board.h 2005-01-04 23:04:51.867032040 +0100 @@ -74,7 +74,6 @@ /*--------------------------------------------------------------------------*/ extern int board_turn; -extern int board_frame_time; extern CELL board_cells[BOARD_YCELLS][BOARD_XCELLS]; extern int spell_avails[3][SPELL_COUNT_2]; /* row 0 is light, row 1 is dark */ extern int init_board_cells[BOARD_YCELLS][BOARD_XCELLS]; diff -urN ../tmp-orig/xarchon-0.50/src/Genetic.hpp ./src/Genetic.hpp --- ../tmp-orig/xarchon-0.50/src/Genetic.hpp 1999-10-09 19:00:56.000000000 +0200 +++ ./src/Genetic.hpp 2005-01-04 23:05:46.385743936 +0100 @@ -216,9 +216,9 @@ virtual Genetic_Operator<T> *Choose_Operator(void) { int max=(int)total_op_weight; - list<Genetic_Operator<T> *>::iterator start=operators.begin(); - list<Genetic_Operator<T> *>::iterator end=operators.end(); - list<Genetic_Operator<T> *>::iterator iter; + typename list<Genetic_Operator<T> *>::iterator start=operators.begin(); + typename list<Genetic_Operator<T> *>::iterator end=operators.end(); + typename list<Genetic_Operator<T> *>::iterator iter; int r=rand()%max; int count=0; for (iter=start;iter!=end;iter++) { @@ -249,7 +249,7 @@ Genetic_Population<T> *newpop=new Genetic_Population<T>(p->size); int cur_size=0; while (cur_size<newpop->size) { - Genetic_Operator<T> *op=Choose_Operator(); + Genetic_Operator<T> *op=this->Choose_Operator(); if ( (cur_size+op->NumOfResults())>newpop->size) continue; for (i=0;i<op->NumOfOperands();i++) { @@ -264,7 +264,7 @@ cur_size++; } } - newpop->Eval_Fitness(fit_func); + newpop->Eval_Fitness(this->fit_func); return newpop; } diff -urN ../tmp-orig/xarchon-0.50/src/Problem.hpp ./src/Problem.hpp --- ../tmp-orig/xarchon-0.50/src/Problem.hpp 1999-10-09 23:13:16.000000000 +0200 +++ ./src/Problem.hpp 2005-01-04 23:05:46.385743936 +0100 @@ -306,14 +306,14 @@ virtual G Goal_Value(T *a) { if (depth==0) - return tester->Goal_Value(a); + return this->tester->Goal_Value(a); - Goal_Test<G,T> *endtester=tester; - tester=new Minimax_Goal_Test(depth-1,generator,other_acc,goal_acc,tester); + Goal_Test<G,T> *endtester=this->tester; + this->tester=new Minimax_Goal_Test(depth-1,this->generator,other_acc,this->goal_acc,this->tester); G ret_val=Successor_Goal_Test<G,T>::Goal_Value(a); - delete tester; - tester=endtester; - delete next; + delete this->tester; + this->tester=endtester; + delete this->next; return ret_val; } @@ -333,26 +333,26 @@ Goal_Test<G,T> *t) : Successor_Goal_Test<G,T>(gen,mine,t) { - depth=d; - branch=b; + depth=this->d; + branch=this->b; other=o; } virtual G Goal_Value(T *a) { - Goal_Accumulator <G,T> *old=goal_acc; + Goal_Accumulator <G,T> *old=this->goal_acc; Multi_Goal_Accumulator <G,T,greater<G> > *mga=new Multi_Goal_Accumulator<G,T,greater<G> >(branch); - goal_acc=mga; + this->goal_acc=mga; Successor_Goal_Test<G,T>::Goal_Value(a); - goal_acc=old; + this->goal_acc=old; for (mga->Init();!mga->IsEnd();mga->Next()) { T *state=mga->Get_State(); - Multi_Minimax_Goal_Test *next=new Multi_Minimax_Goal_Test(d-1,b,gen,other,goal_acc,tester); + Multi_Minimax_Goal_Test *next=new Multi_Minimax_Goal_Test(this->d-1,this->b,this->gen,other,this->goal_acc,this->tester); next->Goal_Value(state); - goal_acc->Put(accumulator->value,acc->state,acc->op); + this->goal_acc->Put(this->accumulator->value,this->acc->state,this->acc->op); } - goal_acc->Put(mga->Get_State(),mga->Get_Operator(),mga->Get_Result()); - return goal_acc->Get_Value(); + this->goal_acc->Put(mga->Get_State(),mga->Get_Operator(),mga->Get_Result()); + return this->goal_acc->Get_Value(); } }; --------------------------------------- Received: (at 288660-close) by bugs.debian.org; 12 Oct 2005 18:17:54 +0000 >From [EMAIL PROTECTED] Wed Oct 12 11:17:54 2005 Return-path: <[EMAIL PROTECTED]> Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian)) id 1EPlA9-0002m5-00; Wed, 12 Oct 2005 11:17:13 -0700 From: Daniel Burrows <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] X-Katie: $Revision: 1.56 $ Subject: Bug#288660: fixed in xarchon 0.50-9 Message-Id: <[EMAIL PROTECTED]> Sender: Archive Administrator <[EMAIL PROTECTED]> Date: Wed, 12 Oct 2005 11:17:13 -0700 Delivered-To: [EMAIL PROTECTED] X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 (1.212-2003-09-23-exp) on spohr.debian.org X-Spam-Level: X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER autolearn=no version=2.60-bugs.debian.org_2005_01_02 X-CrossAssassin-Score: 3 Source: xarchon Source-Version: 0.50-9 We believe that the bug you reported is fixed in the latest version of xarchon, which is due to be installed in the Debian FTP archive: xarchon-theme-default_0.50-9_all.deb to pool/main/x/xarchon/xarchon-theme-default_0.50-9_all.deb xarchon_0.50-9.diff.gz to pool/main/x/xarchon/xarchon_0.50-9.diff.gz xarchon_0.50-9.dsc to pool/main/x/xarchon/xarchon_0.50-9.dsc xarchon_0.50-9_i386.deb to pool/main/x/xarchon/xarchon_0.50-9_i386.deb A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [EMAIL PROTECTED], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Daniel Burrows <[EMAIL PROTECTED]> (supplier of updated xarchon package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [EMAIL PROTECTED]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.7 Date: Wed, 12 Oct 2005 10:10:28 -0700 Source: xarchon Binary: xarchon-theme-default xarchon Architecture: source i386 all Version: 0.50-9 Distribution: unstable Urgency: low Maintainer: Daniel Burrows <[EMAIL PROTECTED]> Changed-By: Daniel Burrows <[EMAIL PROTECTED]> Description: xarchon - An X11 version of the game Archon xarchon-theme-default - The default theme for XArchon Closes: 179406 264243 288660 Changes: xarchon (0.50-9) unstable; urgency=low . * Apply patch from Andreas Jochens to compile with gcc >= 3.4. (Closes: #264243, #288660) * Split the creation of arch-dependent and arch-independent packages. (Closes: #179406) * Clean up the rules file (remove inapplicable dh_* calls). * Explicitly remove config.cache and config.status in clean, just in case. Files: d9e2b2b193e202447a774a12d03eebf8 735 games optional xarchon_0.50-9.dsc 903d8e4a90d24ac006d654e5a224076a 4456 games optional xarchon_0.50-9.diff.gz 096a0df5642b217d37a3723ca35aa108 145064 games optional xarchon-theme-default_0.50-9_all.deb 34ba86172d8bebafb9226da8232eb1f0 123942 games optional xarchon_0.50-9_i386.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFDTU4Bch6xsM7kSXgRAoNQAKDZFE65HNdAyynempWyMJg0GhVD2ACg5r17 9JslBQBdFncFXuN82Hd8++Y= =+Q/p -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]