I would like to ask for some help converting a code from windows to linux. First error is [muddy@darkon src]$ make make ../bin/circle make[1]: Entering directory `/home/muddy/circle/src' gcc -c -g -O2 -Wall act.comm.c In file included from act.comm.c:14: utils.h:88: parse error before `->' utils.h:151: stray '\' in program u line 81 void update_pos(struct char_data *victim); void core_dump_real(const char *, ush_int); int replace_str(char **string, char *pattern, char *replacement, int rep_all, int max_size); void format_text(char **ptr_string, int mode, struct descriptor_data *d, int maxlen); #define core_dump() core_dump_real(__FILE__, __LINE__) #define CHECK_PLAYER_SPECIAL(ch, var) \ line 88 (*(((ch)->player_specials == &dummy_mob) ? (log("SYSERR: Mob using '"#var"' at %s:%d.", __FILE__,__LINE__), &(var)) : &(var))) line 90 #define SENDOK(ch) ((ch)->desc && (AWAKE(ch) || sleep) && \ !PLR_FLAGGED((ch), PLR_WRITING)) /* various constants *****************************************************/ any ideas on how to fix this parse error? Tonster ICQ 31970540 mailto:ano6702@ccp.com http://www.ccp.com/~ano6702 Darkon MUD http://www.darkon.net telnet://darkon.net:9001 Get it on with the Quake Now running Quake1 & Quake2 servers -- +---------------------------------------------------------------+ | 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 : 04/11/01 PDT