Added a few new races, but im having a problem spotting a bug in the
code.. it originated in utils.h which I will include here, first off
heres the compile error:
make ../bin/circle
make[1]: Entering directory `/home/acyd/circle30bpl12/src'
gcc -c -g -O2 -Wall comm.c
In file included from comm.c:46:
utils.h:425: parse error before `->'
make[1]: *** [comm.o] Error 1
make[1]: Leaving directory `/home/acyd/circle30bpl12/src'
make: *** [all] Error 2
now heres the snip of the whole block:
#define CLASS_ABBR(ch) (IS_NPC(ch) ? "--" :
class_abbrevs[(int)GET_CLASS(ch)])
#define IS_MAGIC_USER(ch) (!IS_NPC(ch) && \
(GET_CLASS(ch) == CLASS_MAGIC_USER))
#define IS_CLERIC(ch) (!IS_NPC(ch) && \
(GET_CLASS(ch) == CLASS_CLERIC))
#define IS_THIEF(ch) (!IS_NPC(ch) && \
(GET_CLASS(ch) == CLASS_THIEF))
#define IS_WARRIOR(ch) (!IS_NPC(ch) && \
(GET_CLASS(ch) == CLASS_WARRIOR))
#define IS_HUMAN(ch) (!IS_NPC(ch) && \
(GET_RACE(ch) == RACE_HUMAN))
#define IS_DWARF(ch) (!IS_NPC(ch) && \
(GET_RACE(ch) == RACE_DWARF))
#define IS_DROW (ch) (!IS_NPC(ch) && \
(GET_RACE(ch) == RACE_DROW))
#define IS_TROLL(ch) (!IS_NPC(ch) && \
(GET_RACE(ch) == RACE_TROLL))
ive been here for a considerable amount of time trying to spot it,
checked back further in the code and couldnt locate it myself.
Im sure I must have passed over it though, so could someone check me on
this?
heres my utils.h file
Thanks.
-renegade@monmouth.com
-acyd@geez.mudservices.com
-renegade@edeneast.com
+------------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
+------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST