Re: [CODE] Making new descripts

From: Patrick J. Dughi (dughi@IMAXX.NET)
Date: 12/06/97


>
> struct abil_desc *ab_desc = {
> /**LINE 26**/  {-1, "\0"}
> };
>
> ***NOTE****This file gives me the following three errors upon compilation:
> desc.c:26: warning: braces around scalar initializer for `ab_desc'
> desc.c:26: warning: initialization makes pointer from integer without a cast
> desc.c:26: warning: excess elements in scalar initializer after `ab_desc'
>
        Its an  array.. uhm... try..
strct abil_desc ab_desc[] = {
        {-1, "\0"}
};

                                        PjD


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