Re: [CODE ERROR] Can't figure this out : (

From: Fafhrd (fafhrd@greyhawk.org)
Date: 02/23/99


One of those code lines contains a macro, with an erronous / in it. The
macro would most likely be in one of your included header files.

Erik Madison
ICQ #13940294
www.greyhawk.org
fafhrd@greyhawk.org
-----Original Message-----
From: Fallen Wolf <fallen_wolf@HOTMAIL.COM>
To: CIRCLE@post.queensu.ca <CIRCLE@post.queensu.ca>
Date: Tuesday, February 23, 1999 4:38 PM
Subject:  [CODE ERROR] Can't figure this out : (


>This is all in act.wizard.c, and I'm not sure what went wrong.  One
>minute it was working, the next all these errors came into being.  It's
>basically stock stuff, too, which makes me wonder what has gone wrong.
>I have even rewritten the entire file, and I got the same error
>messages.
>
>If anyone can give me any ideas on what could be happening, I would
>greatly appreciate the help! :)
>
>*snip*
>
>gcc -c -g -O2 -Wall  act.wizard.c
>act.wizard.c:2097: parse error before `if'
>act.wizard.c:2097: stray '\' in program
>act.wizard.c: In function `perform_set':
>act.wizard.c:2213: stray '\' in program
>act.wizard.c:2216: stray '\' in program
>act.wizard.c:2223: stray '\' in program
>act.wizard.c:2342: stray '\' in program
>act.wizard.c:2349: stray '\' in program
>act.wizard.c:2373: stray '\' in program
>act.wizard.c:2376: stray '\' in program
>act.wizard.c:2396: stray '\' in program
>act.wizard.c:2399: stray '\' in program
>act.wizard.c:2402: stray '\' in program
>act.wizard.c:2412: stray '\' in program
>act.wizard.c:2415: stray '\' in program
>act.wizard.c:2437: stray '\' in program
>act.wizard.c:2458: stray '\' in program
>act.wizard.c:2499: parse error before `void'
>act.wizard.c:2508: `argument' undeclared (first use this function)
>act.wizard.c:2508: (Each undeclared identifier is reported only once
>act.wizard.c:2508: for each function it appears in.)
>act.wizard.c:2508: `name' undeclared (first use this function)
>act.wizard.c:2511: `is_file' undeclared (first use this function)
>act.wizard.c:2514: `is_player' undeclared (first use this function)
>act.wizard.c:2517: `is_mob' undeclared (first use this function)
>act.wizard.c:2520: `field' undeclared (first use this function)
>act.wizard.c:2525: warning: `return' with no value, in function
>returning non-void
>act.wizard.c:2533: warning: `return' with no value, in function
>returning non-void
>act.wizard.c:2538: warning: `return' with no value, in function
>returning non-void
>act.wizard.c:2543: `cbuf' undeclared (first use this function)
>act.wizard.c:2545: `player_i' undeclared (first use this function)
>act.wizard.c:2545: `tmp_store' undeclared (first use this function)
>act.wizard.c:2550: warning: `return' with no value, in function
>returning non-void
>act.wizard.c:2556: warning: `return' with no value, in function
>returning non-void
>act.wizard.c:2561: `len' undeclared (first use this function)
>act.wizard.c:2567: `retval' undeclared (first use this function)
>act.wizard.c:2585: parse error before `void'
>act.wizard.c:2595: `give_obj' undeclared (first use this function)
>act.wizard.c:2596: `obj' undeclared (first use this function)
>act.wizard.c:2601: parse error at end of input
>make[1]: *** [act.wizard.o] Error 1
>
>Thanks for your time and patience with this newbie coder.
>
>______________________________________________________
>Get Your Private, Free Email at http://www.hotmail.com
>
>
>     +------------------------------------------------------------+
>     | 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