it's been about a year since i've looked at my code here. apparently when I left the project last year, i left it with compiler errors and am having problems determining what the cause is and how to fix it.
any direction on how to solve this problem would be greatly appreciated. let me know if any other bits of info are needed. Thank you - Nargs
smaug 1.4 - compiled on cygwin
here is what I am getting when I make all:
and those "error: dereferencing pointer to incomplete " keep repeating over and over many many pages long. Those problems will probably be fixed once my main problem is rooted out. which apparently is in mud.h
mud.h extract:
2288 MPROG_ACT_LIST * mpact;
2289 int mpactnum;
2290 sh_int mpscriptpos;
2291 MOBF_INDEX_DATA * pIndexData;
2292 DESCRIPTOR_DATA * desc;
2293 AFFECT_DATA * first_affect;
2294 AFFECT_DATA * last_affect;
any direction on how to solve this problem would be greatly appreciated. let me know if any other bits of info are needed. Thank you - Nargs
smaug 1.4 - compiled on cygwin
here is what I am getting when I make all:
$ make all
make smaug
make[1]: Entering directory `/cygdrive/d/smaug/src'
gcc -c -O -g3 -Wall -Wuninitialized -DSMAUG act_comm.c
In file included from act_comm.c:32:
mud.h:2291: error: parse error before "MOBF_INDEX_DATA"
mud.h:2291: warning: no semicolon at end of struct or union
mud.h:2342: warning: built-in function 'exp' declared as non-function
mud.h:2419: error: parse error before '}' token
mud.h:4688: error: 'act' redeclared as different kind of symbol
mud.h:2343: error: previous declaration of 'act' was here
act_comm.c: In function `drunk_speech':
act_comm.c:229: error: dereferencing pointer to incomplete type
act_comm.c:229: error: dereferencing pointer to incomplete type
act_comm.c:231: error: dereferencing pointer to incomplete type
act_comm.c: In function `talk_channel':
act_comm.c:375: error: dereferencing pointer to incomplete type
act_comm.c:382: error: dereferencing pointer to incomplete
and those "error: dereferencing pointer to incomplete " keep repeating over and over many many pages long. Those problems will probably be fixed once my main problem is rooted out. which apparently is in mud.h
mud.h extract:
2288 MPROG_ACT_LIST * mpact;
2289 int mpactnum;
2290 sh_int mpscriptpos;
2291 MOBF_INDEX_DATA * pIndexData;
2292 DESCRIPTOR_DATA * desc;
2293 AFFECT_DATA * first_affect;
2294 AFFECT_DATA * last_affect;