Re: [NEWBIE] 'max_playing' not declared

From: Glover, Rick I. (RIGLOVER@PHJW.com)
Date: 05/02/00


A prior bug fix changed a declaration in "config.c" from MAX_PLAYERS to
max_playing.  You'll have to change all occurances of MAX_PLAYERS to
max_playing (or vice-versa) throughout all your code to get rid of all
compile errors.

Rick

-----Original Message-----
From: Sid Wiesner [mailto:swiesner@wvu.edu]
Sent: Tuesday, May 02, 2000 5:02 PM
To: CIRCLE@post.queensu.ca
Subject: Re: [CIRCLE] [NEWBIE] 'max_playing' not declared


It means just what it says: max_playing is undeclared. You must declare it
somewhere...

on 5/2/00 6:57 PM, Isac Jinton <toxez@extra.netlink.se> wrote:

> Hello!
> I was going to add Oasis OLC to circlemud bpl17... And then i get this msg
> annoying msg and i dont know how to fix it, can anyone help me?:
>
> comm.c: In function `get_max_players':
> comm.c:504: `max_playing' undeclared (first use in this function)
> comm.c:504: (Each undeclared identifier is reported only once
> comm.c:504: for each function it appears in.)
>
> comm.c around line 504:
>
> #ifdef RLIM_INFINITY
> if (limit.rlim_max == RLIM_INFINITY)
> max_descs = max_playing + NUM_RESERVED_DESCS;     <----- 504
> else
> max_descs = MIN(max_playing + NUM_RESERVED_DESCS, limit.rlim_max);
> #else
> max_descs = MIN(max_playing + NUM_RESERVED_DESCS, limit.rlim_max);
> #endif
>
>
> +------------------------------------------------------------+
> | Ensure that you have read the CircleMUD Mailing List FAQ:  |
> |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
> +------------------------------------------------------------+


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+


     +------------------------------------------------------------+
     | 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 : 04/10/01 PDT