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 |
+------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 04/10/01 PDT