On Fri, 12 Jun 1998, Quinn ShadowStalker wrote:
>Ok ive looked this over about 1000 times and I cant figure out what extern
>I should add to make this function declared, could someone assist me here?
You failed (or have never taken) a C course, I bet.
1) 'd' is never an extern in the code, descriptor_list is closest to idea.
2) 'd' is not a function.
A classic cut & paste pitfall:
>here is what the error is
>shinra.c:1504: `d' undeclared (first use in this function)
>shinra.c:1504: (Each undeclared identifier is reported only once
>shinra.c:1504: for each function it appears in.)
>
>and the line is
>SET_BIT(PLR_FLAGS(d->character),PLR_MUTANT);
Since you have given us absolutely _zero_ context as to what the function
is, I'll just take this shot in the dark:
---
Try changing 'd->character' to 'ch'
---
I could throw out plenty of CFLA (colorful four letter acronyms) on this,
but I won't.
Yet.
--
George Greer, greerga@circlemud.org | Genius may have its limitations, but
http://patches.van.ml.org/ | stupidity is not thus handicapped.
http://www.van.ml.org/CircleMUD/ | -- Elbert Hubbard
+------------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
+------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST