I am getting this compiling error when I try to work with this race document gcc -c -g -O -i486-linux -m486 -Wall -fno-strict-prototypes interpreter.c interpreter.c: In function `nanny': interpreter.c:1556: `ch' undeclared (first use this function) interpreter.c:1556: (Each undeclared identifier is reported only once interpreter.c:1556: for each function it appears in.) make[1]: *** [interpreter.o] Error 1 Here is the area in the code. <CODE SNIPPED> SEND_TO_Q(race_menu, d); SEND_TO_Q("\r\nRace: ", d); STATE(d) = CON_QRACE; break; case CON_QRACE: load_result = parse_race(*arg); if (load_result == RACE_UNDEFINED) { SEND_TO_Q("\r\nThat's not a race.\r\nRace: ", d); return; } else GET_RACE(d->character) = load_result; /* Error here */ if (GET_PFILEPOS(d->character) < 0) GET_PFILEPOS(d->character) = create_entry(GET_NAME(d->character)); init_char(d->character); save_char(d->character, NOWHERE); SEND_TO_Q(motd, d); SEND_TO_Q("\r\n\n*** PRESS RETURN: ", d); STATE(d) = CON_RMOTD; <CODE SNIPPED> Any ideas??? __________________________________________________________________________ |from: John C. A. Bambenek & | Runaway MUD Development Team Head | | Christina M. Drummond | Test Site At : | |bambenek@alecto.physics.uiuc.edu | dragonlance.cei.net 9000 | |http://www.physics.uiuc.edu/~bambenek| Based on the AmalgaMUD concept | |_____________________________________|___________________________________| +-----------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://cspo.queensu.ca/~fletcher/Circle/list_faq.html | +-----------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/07/00 PST