[code][help][ERRORS!]

From: The Riddler (riddler@viconet.com)
Date: 01/27/97


Help and here are there errors and the code below...

.comm.c: In function `do_gen_comm':
act.comm.c:490: warning: left shift count >= width of type
act.comm.c:526: parse error before `{'
act.comm.c:527: warning: missing braces around initializer for
`com_msgs[5]'
act.comm.c:530: parse error before `}'
act.comm.c:500: warning: unused variable `com_msgs'
act.comm.c:484: warning: unused variable `channels'
act.comm.c:481: warning: unused variable `color_on'
act.comm.c:480: warning: unused variable `i'
act.comm.c:479: warning: unused variable `holler_move_cost'
act.comm.c:478: warning: unused variable `level_can_shout'
act.comm.c: At top level:
act.comm.c:552: warning: parameter names (without types) in function
declaration
act.comm.c:552: conflicting types for `send_to_char'
comm.h:15: previous declaration of `send_to_char'
act.comm.c:552: warning: data definition has no type or storage class
act.comm.c:553: parse error before `return'
act.comm.c:561: parse error before `&'
act.comm.c:561: conflicting types for `skip_spaces'
interpreter.h:37: previous declaration of `skip_spaces'
act.comm.c:561: warning: data definition has no type or storage class
act.comm.c:567: warning: parameter names (without types) in function
declaration
act.comm.c:567: warning: data definition has no type or storage class
act.comm.c:568: parse error before `return'
act.comm.c:578: parse error before `['
act.comm.c:578: warning: data definition has no type or storage class
act.comm.c:608: parse error before `0'    
.comm.c:608: conflicting types for `act'
comm.h:25: previous declaration of `act'
act.comm.c:608: warning: data definition has no type or storage class
act.comm.c:611: warning: data definition has no type or storage class
act.comm.c:611: invalid type argument of `->'
act.comm.c:611: parse error before `)'
act.comm.c:624: parse error before `0'
act.comm.c:624: warning: data definition has no type or storage class
make[1]: *** [act.comm.o] Error 1   
ok this is the error i get can anyone help the code i added is below
thanks

act.comm.c:    PRF_NOSOUL,
act.comm.c:    {"You cannot Soul Pray!!\r\n",
act.comm.c:      "soulpray",
act.comm.c:if (subcmd == SCMD_SOUL && !PRF_FLAGGED(ch, PRF_NOSOUL))
act.comm.c: {sprintf(buf, "&+B$n soul&+b: &n%s&N", argument);}
act.other.c:    {"Soul Prayer channel enabled.\r\n",
act.other.c:    "Soul Prayer channel disabled.\r\n"
act.other.c:  case SCMD_NOSOUL:
act.other.c:    result = PLR_TOG_CHK(ch, PLR_NOSOUL);
config.c:/* minimum level a player must be to
shout/holler/gossip/auction/soul *
/
interpreter.c:  { "nosoul"   , "noso", POS_DEAD    , do_gen_tog  ,
LVL_AVATAR, SCMD_NOSOUL },
interpreter.c:  { "soul"     , "sou", POS_SLEEPING, do_gen_comm ,
LVL_AVATAR, SCMD_SOUL }

interpreter.h:#define SCMD_NOSOUL     27
interpreter.h:#define SCMD_SOUL       
structs.h:#define PRF_NOSOUL    (1 << 32) /* Soul Prayers*/

is there anything wrong  this code is for mortals.. If need help they can
soul pray
to the gods... and only LVL_AVATAR and up can only hear it..  thanks for
the help


+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
+-----------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/18/00 PST