Vanilla Netrek Server Development Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[VANILLA-L:544] Re: Just announcing them



> 
> If you undef VOTING, then you get.
> 
> ake[1]: Entering directory `/usr/local/tmp/pickup/Server/robots'
> gcc -O     -DRSA -DROBOT   -c inlcmds.c 
> inlcmds.c:141: `C_VC_ALL' undeclared here (not in a function)
> inlcmds.c:141: initializer element for `inl_commands[26].tag' is not
> constant
> make[1]: *** [inlcmds.o] Error 1
> make[1]: Leaving directory `/usr/local/tmp/pickup/Server/robots'
> make: *** [do_robots] Error 2
> 

This is an oversight on my part - patch to follow.

Also, as for #undef AUTO_INL not working, I cant reproduce that bug,
and I dont have a clue as to what would be causing it..
Could you double check this on your end?


*** robots/inlcmds.c.orig	Tue Apr 22 03:40:03 1997
--- robots/inlcmds.c	Tue Apr 22 03:41:13 1997
***************
*** 136,147 ****
--- 136,149 ----
  		C_PR_CAPTAIN | C_PR_INGAME,
  		"Requests that the game continues.",
  		do_pause },			/* CONTINUE */
+ #if defined(AUTO_INL)
      { "The following votes can be used:  (M=Majority, T=Team vote)", C_DESC },
      { "EXIT",
  	C_VC_ALL,
  	"Terminate robot by majority vote.",
  	cleanup,
  	1, 20, 0 },
+ #endif /* AUTO_INL */
      { NULL }
      };
  


-- 
 ------------------------------------------------------------------------
 | Kevin O'Connor               "BTW, IMHO we need a FAQ for 'RTFM',    | **
 | koconnor@acsu.buffalo.edu    'IMHO', 'IMO', 'FAQ', 'BTW', etc. !"    | **
 ------------------------------------------------------------------------ **
   *************************************************************************