<snip> gcc -g -O2 -Wall -c -o shop.o shop.c shop.c: In function `is_ok_char': shop.c:145: `TRADE_RANGER' undeclared (first use in this function) shop.c:145: (Each undeclared identifier is reported only once shop.c:145: for each function it appears in.) make[1]: *** [shop.o] Error 1 make[1]: Leaving directory `/cygdrive/c/windows/desktop/circle~1/src' make: *** [all] Error 2 <snip> And here is the actual code from the file: <snip> 141: if ((IS_MAGIC_USER(ch) && NOTRADE_MAGIC_USER(shop_nr)) || 142: (IS_CLERIC(ch) && NOTRADE_CLERIC(shop_nr)) || 143: (IS_THIEF(ch) && NOTRADE_THIEF(shop_nr)) || 144: (IS_WARRIOR(ch) && NOTRADE_WARRIOR(shop_nr)) || 145: (IS_RANGER(ch) && NOTRADE_RANGER(shop_nr))) { 146: sprintf(buf, "%s %s", GET_NAME(ch), MSG_NO_SELL_CLASS); 147: do_tell(keeper, buf, cmd_tell, 0); 148: return (FALSE); 149: } <snip> I just don't get it sometimes.... o_O; -Neostar -- +---------------------------------------------------------------+ | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html | +---------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/06/01 PST