Jared Noble wrote: > > > All the conditions must be enclosed in (). > > gcc -g -O2 -Wall -c class.c > class.c: In function `invalid_race': > class.c:2270: warning: suggest parentheses around && within || > class.c:2270: parse error before `return' > *** Error code 1 Hrmmm, The parenthesis are all there, and that block of code (the first one, not the second) looks good. I can only assume that the problem is in one of the macros. Can you show us the #defines for IS_OBJ_STAT(), ITEM_ANTI_[HUMAN/ELF/GNOME/FAIRY], and IS_[HUMAN/ELF/GNOME/FAIRY]? Regards, Peter -- +---------------------------------------------------------------+ | 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/04/01 PST