[NEWBIE]128-bit error

From: Christina Orr (torr@mail.tqci.net)
Date: 02/02/99


I have been trying to get Circlemud code with OLC+ 2.1a and the 128-bit
patch working on my RedHat 5.2 server without much success.  First I tried
to port some existing code I had from my Win machine to the server.  I have
now started from scratch with a clean copy of bpl14.  I patched in OLC+2.1a
with no problems.  After patching in the 128-bit patch and all the rej
files, I get the same errors I was getting with the code I tried to port
over.   With that all said, here are the errors and corresponding code:

act.informative.c:418: warning: passing arg 2 of `sprintbitarray' from
incompatible pointer type
act.informative.c:419: parse error before `sprintf'

if (!IS_NPC(ch) && PRF_FLAGGED(ch, PRF_ROOMFLAGS)) {
(418)    sprintbitarray(ROOM_FLAGS(ch->in_room), room_bits,  RF_ARRAY_MAX,
buf)
(419)    sprintf(buf2, "[%5d] %s [ %s]", GET_ROOM_VNUM(IN_ROOM(ch)),
            world[ch->in_room].name, buf);
    send_to_char(buf2, ch);
  } else
    send_to_char(world[ch->in_room].name, ch);

Act.informative.c is as far as I've gotten with this code but I know from my
first attempt at compiling this with the Win ported code that there are many
more of the sprintbitarray errors in act.wizard.c.  I looked through the
archives and was unable to find anything on this error.  If anyone has any
ideas, they would be much appreciated.

Thanks in advance,
Christina


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