Re: [NEWBIE] Clan coding

From: tony (tonyr@NWPACLINK.COM)
Date: 04/24/98


Hello all,

Ok this is probably a stupid question but i hand patched in the clan
patch from the circle ftp site.

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

Now i searched it out and didnt find any dup case statements.
Any help would be nice, just a gentle (or hard) shove in the right
direction would be nice and hopefuly not a RTFM!! cuz i have (=

Thanx in advance

-=DemiGod=-

______________________________________________________


Go to interpreter.h
Look at CON_CLAN_EDIT and CON_OEDIT (#defines).  Make it so that no two
definitions in CON_ have the same number.


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