Re: undeclared

From: Del (caminturn@earthlink.net)
Date: 08/23/00


Matthew Kuebbeler wrote:
>
> Afternoon everyone,
>     I recently set up a circle30bpl17 version compiled it and
> eveything went well.. Until I decided to add a class.
> I got a hold of a Adding class.txt of the ftp site (by Rikard Bdckman)
> and followed his instructions. When I finished and did  a make clean,
> followed by a make I got the following:
>
> shop.c: in function `is_ok_char`:
> shop.c: 144 `TRADE_KNIGHT` undeclared (first use this function)
> shop.c: 144 (each undeclared identifier is reported only once
> shop.c: 144 for each function it appears in)
>
> This I dont understand at all. I've gone back through to the
> is_ok_char funtion and spent a long time making sure it matches
> up correctly. Could anyone offer some suggestions?
>
> Matt


Did you add the
#define TRADE_KNIGHT    ##
(in structs.h?)
??


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 04/11/01 PDT