Re: (BPL13) lots of errors

From: George (greerga@CIRCLEMUD.ORG)
Date: 06/22/98

On Mon, 22 Jun 1998, Christina Orr wrote:

>I am getting 40 of these errors in comm.c:
>comm.c(278) : warning C4002: too many actual parameters for macro 'log'
>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));

It's not using log().  And log() takes variable arguments so it should be
impossible to get that message.

>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))
You need one '-', not two.

George Greer, | Genius may have its limitations, but          | stupidity is not thus handicapped.    |                  -- Elbert Hubbard

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | |

This archive was generated by hypermail 2b30 : 12/15/00 PST