Chances are, the very first error: act.other.c:760: parse error before `:' Is causing most of your problems. Parse error can propagate several more errors throughout your code. In this case, search for a misplaced ";" character, extra bracket, or something like that on or before line 760. A "parse error" generally refers to a syntactical (correct term??) error with the code. Perhaps you should consider gettings yourself a C book and learning a little more about coding errors. You *will* come across more errors than this when coding in C. Parse errors, although sometimes tricky to find, are probably the most basic error you will ever come across. sT -----Original Message----- From: Darren Steinke [SMTP:darrens@FLASHMAIL.COM] Sent: Saturday, April 17, 1999 1:56 PM To: CIRCLE@post.queensu.ca Subject: [COMPILING] what do errors mean? I was installing the new_prompts.diff patch and did ok except for act.other.c I got a page full or errors and was wondering if someone out there could let me know what the errors mean? I'm not looking for someone to tell me how to fix it just to tell me what the errors mean. I have gone over my code and it all matches with the patch so..i am running bpl14 btw thank you! -ds -----act.other.c compile errors---- [fradmin@pizza]$ gcc -c -g -Wall act.other.c act.other.c: In function `do_display': act.other.c:760: parse error before `:' act.other.c:744: warning: unused variable `x' act.other.c: At top level: act.other.c:767: parse error before `else' act.other.c:769: parse error before string constant act.other.c:769: conflicting types for `send_to_char' comm.h:15: previous declaration of `send_to_char' act.other.c:769: warning: data definition has no type or storage class act.other.c:773: initializer element is not constant act.other.c:773: warning: data definition has no type or storage class act.other.c:775: parse error before `if' act.other.c:780: `x' undeclared here (not in a function) act.other.c:780: parse error before `!=' act.other.c:784: warning: parameter names (without types) in function declaration act.other.c:784: warning: data definition has no type or storage class act.other.c:785: parse error before `return' act.other.c:790: parse error before `->' act.other.c:792: parse error before string constant act.other.c:793: warning: data definition has no type or storage class act.other.c:794: warning: parameter names (without types) in function declaration act.other.c:794: warning: data definition has no type or storage class act.other.c:795: parse error before `}' act.other.c: In function `do_prompt': act.other.c:798: warning: implicit declaration of function `skip_space' [fradmin@pizza]$ gcc -c -g -Wall comm.c comm.c: In function `prompt_str': comm.c:993: warning: implicit declaration of function `interpret_colors' comm.c:993: warning: return makes pointer from integer without a cast comm.c:1117: warning: return makes pointer from integer without a cast [fradmin@pizza]$ *********************************** * Darren A. Steinke * * darrens@flashmail.com * * HTML/Java/CGI/Internet.Tech * * A+Techn/Website.Development * *********************************** +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | +------------------------------------------------------------+ +------------------------------------------------------------+ | 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 : 12/15/00 PST