After replacing color.c and color.h (see http://www.gammon.com.au/forum/bbshowpost.php?bbsubject_id=4134&page=999999 ) I went to do a clean recompile, and got this odd errors.
I never touched do_setclass at all. Here's some lines.
Also those unused variables were never there before... I don't see why act_wiz.c just suddenly does this... Any idea why? And is that part of the code stock code?
gcc -c -O -g2 -Wall -DI3 -DI3SMAUG act_wiz.c
act_wiz.c: In function `do_setclass':
act_wiz.c:7545: `MIL' undeclared (first use in this function)
act_wiz.c:7545: (Each undeclared identifier is reported only once
act_wiz.c:7545: for each function it appears in.)
act_wiz.c:7545: warning: unused variable `arg1'
act_wiz.c:7545: warning: unused variable `arg2'
act_wiz.c: In function `do_setrace':
act_wiz.c:7945: `MSL' undeclared (first use in this function)
act_wiz.c:7945: `MIL' undeclared (first use in this function)
act_wiz.c:7945: warning: unused variable `buf'
act_wiz.c:7945: warning: unused variable `arg1'
act_wiz.c:7945: warning: unused variable `arg2'
act_wiz.c:7945: warning: unused variable `arg3'
make[1]: *** [act_wiz.o] Error 1
I never touched do_setclass at all. Here's some lines.
void do_setclass( CHAR_DATA *ch, char *argument )
{
char arg1[MIL], arg2[MIL];
FILE *fpList;
char classlist[256];
struct class_type *class;
int cl, value, i;
Also those unused variables were never there before... I don't see why act_wiz.c just suddenly does this... Any idea why? And is that part of the code stock code?