ok now im getting these errors gcc -c -g -O -Wall -g -fno-strict-prototypes fight.c fight.c: In function `raw_kill': fight.c:366: parse error before `(' fight.c:367: called object is not a function fight.c:367: parse error before `;' fight.c:354: warning: unused variable `change' fight.c:353: warning: unused variable `roomnum' fight.c:352: warning: unused variable `r_mortal_start_room' fight.c:351: warning: unused variable `r_evil_death_start_room' fight.c:350: warning: unused variable `r_neut_death_start_room' fight.c:349: warning: unused variable `r_good_death_start_room' fight.c: At top level: fight.c:375: warning: parameter names (without types) in function declaration fight.c:375: conflicting types for `char_from_room' handler.h:58: previous declaration of `char_from_room' fight.c:375: warning: data definition has no type or storage class fight.c:376: warning: parameter names (without types) in function declaration fight.c:376: conflicting types for `char_to_room' handler.h:59: previous declaration of `char_to_room' fight.c:376: warning: data definition has no type or storage class fight.c:377: parse error before `0' fight.c:377: conflicting types for `look_at_room' utils.h:58: previous declaration of `look_at_room' fight.c:377: warning: data definition has no type or storage class fight.c:378: parse error before string constant fight.c:378: conflicting types for `act' comm.h:25: previous declaration of `act' fight.c:378: warning: data definition has no type or storage class fight.c:379: parse error before string constant fight.c:380: warning: data definition has no type or storage class fight.c:381: parse error before `->' fight.c:382: parse error before `->' fight.c:383: parse error before `->' fight.c:387: parse error before `->' fight.c:392: warning: parameter names (without types) in function declaration fight.c:392: conflicting types for `extract_char' handler.h:60: previous declaration of `extract_char' fight.c:392: warning: data definition has no type or storage class fight.c:393: parse error before `}' fight.c:397: warning: parameter names (without types) in function declaration fight.c:397: warning: data definition has no type or storage class fight.c:398: warning: parameter names (without types) in function declaration fight.c:398: warning: data definition has no type or storage class fight.c:399: parse error before `->' fight.c:400: parse error before `->' fight.c:410: warning: parameter names (without types) in function declaration fight.c:410: warning: data definition has no type or storage class fight.c:410: warning: data definition has no type or storage class fight.c:411: warning: parameter names (without types) in function declaration fight.c:411: warning: data definition has no type or storage class fight.c:412: parse error before `if' fight.c:414: warning: parameter names (without types) in function declaration fight.c:414: warning: data definition has no type or storage class fight.c:415: warning: parameter names (without types) in function declaration fight.c:415: warning: data definition has no type or storage class fight.c:415: parse error before `}' fight.c:421: warning: parameter names (without types) in function declaration fight.c:421: warning: data definition has no type or storage class fight.c:422: warning: parameter names (without types) in function declaration fight.c:422: warning: data definition has no type or storage class fight.c:423: parse error before `if' fight.c:425: warning: parameter names (without types) in function declaration fight.c:425: warning: data definition has no type or storage class fight.c:426: warning: parameter names (without types) in function declaration fight.c:426: warning: data definition has no type or storage class fight.c:427: parse error before `}' fight.c:431: warning: parameter names (without types) in function declaration fight.c:431: warning: data definition has no type or storage class fight.c:432: warning: parameter names (without types) in function declaration fight.c:432: warning: data definition has no type or storage class fight.c:433: parse error before `if' fight.c:435: warning: parameter names (without types) in function declaration fight.c:436: warning: data definition has no type or storage class fight.c:436: parse error before `}' fight.c:437: parse error before `->' fight.c:438: parse error before `->' make[1]: *** [fight.o] Error 1 why oh why me!!!!!!!!!! thanks please oh please HELP!!!!!! ---------- > From: Alex <fletcher@cspo.queensu.ca> > To: circle@cspo.queensu.ca > Subject: Re: [errors] > Date: Tuesday, February 18, 1997 12:06 AM > > > fight.c:366: parse error before `(' > What this means is that you have an imbalance of ( and ) markers. > So, the first thing you should do is to check this. > > > if (GET_QUEST_MOB(ch) > 0) && (GET_MOB_VNUM(questmob) == > > GET_QUEST_MOB(ch) > ^^^ > And voila, we notice one missing here. Add in a ')', and try again. > > > GET_QUEST_MOB(ch) < 0); > > > > -- > Erm... Yeah. Whatever. > > +-----------------------------------------------------------+ > | Ensure that you have read the CircleMUD Mailing List FAQ: | > | http://cspo.queensu.ca/~fletcher/Circle/list_faq.html | > | Or send 'info circle' to majordomo@cspo.queensu.ca | > +-----------------------------------------------------------+ +-----------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://cspo.queensu.ca/~fletcher/Circle/list_faq.html | | Or send 'info circle' to majordomo@cspo.queensu.ca | +-----------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/18/00 PST