(BPL13) lots of errors

From: Christina Orr (torr@MAIL.TQCI.NET)
Date: 06/22/98


I am getting 40 of these errors in comm.c:
comm.c(278) : warning C4002: too many actual parameters for macro 'log'

Upon further examination I found that there are many of these same errors in
other files.
Some are lines that are logging, some are not.  Example of one in comm.c
that is not:

    if (PRF_FLAGGED(d->character, PRF_DISPHP))
      sprintf(prompt, "%s%dH ", prompt, GET_HIT(d->character));

Bunches of errors and warnings are coming up at this line:

if (STATE(t) == CON_PLAYING && t->character && !IS_NPC(t->character) &&
!PRF_FLAGGED(t-->character, PRF_COMPACT))

They are as follows:

comm.c(1268) : warning C4002: too many actual parameters for macro 'log'
D:\Circle\OasisCircle\src\comm.c(1268) : error C2065: 'character' :
undeclared identifier
D:\Circle\OasisCircle\src\comm.c(1268) : warning C4047: '>' : 'struct
descriptor_data *' differs in levels of indirection from 'int '
D:\Circle\OasisCircle\src\comm.c(1268) : error C2223: left of
'->player_specials' must point to struct/union
D:\Circle\OasisCircle\src\comm.c(1268) : warning C4047: '>' : 'struct
descriptor_data *' differs in levels of indirection from 'int '
D:\Circle\OasisCircle\src\comm.c(1268) : error C2223: left of
'->player_specials' must point to struct/union
D:\Circle\OasisCircle\src\comm.c(1268) : warning C4047: '>' : 'struct
descriptor_data *' differs in levels of indirection from 'int '
D:\Circle\OasisCircle\src\comm.c(1268) : error C2223: left of
'->player_specials' must point to struct/union

I hand-patched in the whole 201 pages worth of stuff, which means I probably
missed something but I'm having no luck finding it.  A little useful
info...I'm using Win95 and MSVC5 to compile the mud.  I hope that is enough
info.  Any thoughts as to
what could be causing the problem  would be much appreciated.

Thanks,
Tina


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