Re: Find Familiar

From: Chuck Reed (creed@I-55.COM)
Date: 12/07/97


>Date: Sun, 07 Dec 1997 19:42:35
>To: Doppleganger Software <doppsoft@tzc.com>
>From: Chuck Reed <creed@i-55.com>
>Subject: Re: Find Familiar
>
>I was wondering if you had any idea why this would be happening.  I get the
following error messages when compiling my desc.c file:
>
>desc.c:26: warning: braces around scalar initializer for `ab_desc[0]'
>desc.c:26: warning: initialization makes pointer from integer without a cast
>desc.c:26: warning: excess elements in scalar initializer after `ab_desc[0]'
>desc.c:27: warning: braces around scalar initializer for `ab_desc[1]'
>desc.c:27: warning: initialization makes pointer from integer without a cast
>desc.c:27: warning: excess elements in scalar initializer after `ab_desc[1]'
>
>**************************************************************************
>I'll give you line 26 and 27 a little further down, but first, heres the
struct definitions for them:
>
>struct abil_desc {
>   int room;
>   char *e_desc;
>}
>
>char *abil_desc_parse[] = {
>"Blah blah blah blah blah\r\n",
>"Blah blah blah",
>"\0"
>};
>
>              struct abil_desc *ab_desc[] = {
>/**LINE 26**/    {10000, abil_desc_parse[0]},
>/**LINE 27**/    {-1, "\0"}
>              };
>
>Any ideas to what this might be?
>
>Chuck Reed
>
>


     +------------------------------------------------------------+
     | 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/08/00 PST