Re: Clan Snippet

From: Brandon Brown (ViperBrd@aol.com)
Date: 02/20/99


Okay..perhaps it's just me..
But maybe you should get a little more familar with C before you start trying
to code a CircleMUD - it's not a good starting project to be learning how to
code with.

>  act.comm.c:140: `clan' undeclared (first use this function)
>  act.comm.c:140: (Each undeclared identifier is reported only once
>  act.comm.c:140: for each function it appears in.)
Means exactly what it says.. your term, "clan", isn't defined anywhere in the
code.

>  act.comm.c:125: warning: implicit declaration of function `GET_CLAN'
>  act.comm.c:125: warning: implicit declaration of function `GET_CLAN_RANK'
It would probably be a little helpful if you gave us line 125 in act.comm.c,
but you probably haven't defined what exactly GET_CLAN and GET_CLAN_RANK are
supposed to be... it's just sitting there, not knowing quite what it's
supposed to return as information.

Listen, those are two of the simplest errors that you're going to see... other
than parse errors, of course..

If I were you, I'd sit down with a big ole' "How to Code C" book, and read
it..twice.. then come back to your code.

 - Brandon (Viper)
TimeTravellerMUD
UIN 10883068



> Hello, i have just implemented the Clan snippet from Ceramic Mouse and
>  during make have come up with the following errors:
>
>  make ../bin/circle
>  make[1]: Entering directory `/circle30bpl14/src'
>  gcc -c -g -O2 -Wall  act.comm.c
>  act.comm.c: In function `do_ctell':
>  act.comm.c:125: warning: implicit declaration of function `GET_CLAN'
>  act.comm.c:125: warning: implicit declaration of function `GET_CLAN_RANK'
>  act.comm.c:140: `clan' undeclared (first use this function)
>  act.comm.c:140: (Each undeclared identifier is reported only once
>  act.comm.c:140: for each function it appears in.)
>  make[1]: *** [act.comm.o] Error 1
>  make[1]: Leaving directory `/circle30bpl14/src'
>  make: *** [all] Error 2
>
>  Has anyone else had this problem? Any ideas for fixing it?
>
>  btw this is the code of line 140
>      if (minlev > clan[c].ranks){
>
>  please help me out
>
>  Thanks
>  Ryan


     +------------------------------------------------------------+
     | 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