Re: Race errors.

From: Donald P. Taylor (dtay@iquest.net)
Date: 01/29/00


I think you will find that your problem lies in the very first statement of
the error. Double check to make sure you don't have any typos when declaring
pc_class_types. If you hand patched it in, I would guess you deleted the
declaration for it.
  -----Original Message-----
  From: Circle Discussion List [mailto:CIRCLE@post.queensu.ca]On Behalf Of
Victor Wennberg
  Sent: Saturday, January 29, 2000 8:21 AM
  To: CIRCLE@post.queensu.ca
  Subject: [CIRCLE] Race errors.


  i get thesse erros when i added this to my do_score:
    sprintf(buf, "%sRace : %-15s  Age  : %d",
buf,pc_race_types[GET_RACE(ch)],         GET_AGE(ch));

  errors:

  make ../bin/circle
  make[1]: Entering directory `/home/s00011901/mud/src'
  gcc -c -g -O2 -Wall  act.informative.c
  act.informative.c: In function `do_score':
  act.informative.c:690: `pc_class_types' undeclared (first use in this
function)
  act.informative.c:690: (Each undeclared identifier is reported only once
  act.informative.c:690: for each function it appears in.)
  make[1]: *** [act.informative.o] Error 1
  make[1]: Leaving directory `/home/s00011901/mud/src'
  make: *** [all] Error 2

  please help i've tr4ied to this for hours

     +------------------------------------------------------------+
     | 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/10/01 PDT