Re: [NEWBIE] Clan coding

From: Leonardo Herrera (leherrer@ENTELCHILE.NET)
Date: 04/25/98


Thomas Smith wrote:
> Hello all,
> Ok this is probably a stupid question but i hand patched in the clan
> patch from the circle ftp site.

Not at all. :)

> When i compiled it i got this error
>
> interpreter.c: In function `nanny':
> interpreter.c:1302: duplicate case value
> interpreter.c:1297: this is the first entry for that value
>
> Here are the lines its complaing about
>
> --snip--
>   case CON_CLAN_EDIT:
>     parse_clan_edit(d, arg);
>      break;
>
>   /*. OLC states .*/
>   case CON_OEDIT:
>     oedit_parse(d, arg);
>     break;
> --snip--
>

Check your #defines. Two CON_XXX has the same value.

--
Leonardo Herrera L.
mailto:leherrer@entelchile.net
http://www.geocities.com/TimesSquare/Castle/4515/
  "Me voy a subai, me voy a costai, me voy a tapai y
me voy a hacei tuto."
        -- Ruy


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