ok guys thanks for the help with the who question, it
was exactly what i was looking for, i just wasnt sure
if i was right or not.
now my next dilema.
i installed gothar's bank 1.4 into my mud.
everythings ok till i hit bank.c
then i get the massive errors below, mostly parse
errors but more than that. and theres over 100 lines
of errors just from this file. does anybody have a
clean compiling version of this file? if you do, it'd
be much appreciated.
spree
Shards of Eternity
shards.firstlight.net:7778
bank.c: In function `do_account':
bank.c:55: parse error before `{'
bank.c:40: warning: unused variable `class'
bank.c:39: warning: unused variable `buf'
bank.c: At top level:
bank.c:59: parse error before `if'
bank.c:73: warning: type defaults to `int' in
declaration of `send_to_char'
bank.c:73: warning: parameter names (without types) in
function declaration
bank.c:73: conflicting types for `send_to_char'
merc.h:2417: previous declaration of `send_to_char'
bank.c:73: warning: data definition has no type or
storage class
bank.c:74: parse error before `if'
bank.c:77: warning: type defaults to `int' in
declaration of `send_to_char'
bank.c:77: warning: parameter names (without types) in
function declaration
bank.c:77: warning: data definition has no type or
storage class
bank.c:78: parse error before string constant
bank.c:78: warning: type defaults to `int' in
declaration of `sprintf'
bank.c:78: warning: data definition has no type or
storage class
bank.c:79: warning: type defaults to `int' in
declaration of `send_to_char'
bank.c:79: warning: parameter names (without types) in
function declaration
bank.c:79: warning: data definition has no type or
storage class
bank.c:80: parse error before `}'
bank.c: In function `do_deposit':
bank.c:98: parse error before `{'
bank.c:91: warning: unused variable `buf'
bank.c:90: warning: unused variable `arg2'
bank.c:89: warning: unused variable `arg1'
bank.c:88: warning: unused variable `class'
bank.c:87: warning: unused variable `amount'
bank.c: At top level:
bank.c:102: parse error before `if'
bank.c:117: warning: type defaults to `int' in
declaration of `argument'
bank.c:117: `arg2' undeclared here (not in a function)
bank.c:117: warning: passing arg 1 of `one_argument'
makes pointer from intege
without a cast
bank.c:117: warning: initialization makes integer from
pointer without a cast
bank.c:117: initializer element is not constant
bank.c:117: warning: data definition has no type or
storage class
bank.c:118: parse error before `if'
bank.c:124: parse error before string constant
bank.c:124: warning: type defaults to `int' in
declaration of `send_to_char'
bank.c:124: warning: data definition has no type or
storage class
bank.c:129: parse error before string constant
bank.c:129: warning: type defaults to `int' in
declaration of `send_to_char'
bank.c:129: warning: data definition has no type or
storage class
bank.c:131: parse error before string constant
bank.c:131: warning: type defaults to `int' in
declaration of `send_to_char'
bank.c:131: warning: data definition has no type or
storage class
bank.c:139: parse error before string constant
bank.c:139: warning: type defaults to `int' in
declaration of `send_to_char'
bank.c:139: warning: data definition has no type or
storage class
bank.c:151: parse error before string constant
bank.c:151: warning: type defaults to `int' in
declaration of `send_to_char'
bank.c:151: warning: data definition has no type or
storage class
bank.c:165: parse error before `('
bank.c:165: warning: type defaults to `int' in
declaration of `act_new'
bank.c:165: conflicting types for `act_new'
merc.h:2423: previous declaration of `act_new'
bank.c:165: warning: type defaults to `int' in
declaration of `ch'
bank.c:165: parse error before `void'
bank.c:166: parse error before string constant
bank.c:167: warning: type defaults to `int' in
declaration of `sprintf'
bank.c:167: warning: data definition has no type or
storage class
bank.c:168: warning: type defaults to `int' in
declaration of `send_to_char'
bank.c:168: warning: parameter names (without types)
in function declaration
bank.c:168: warning: data definition has no type or
storage class
bank.c:169: parse error before `return'
bank.c:183: parse error before `('
bank.c:183: warning: type defaults to `int' in
declaration of `act_new'
bank.c:183: warning: type defaults to `int' in
declaration of `ch'
bank.c:183: parse error before `void'
bank.c:184: parse error before string constant
bank.c:184: warning: type defaults to `int' in
declaration of `sprintf'
bank.c:184: warning: data definition has no type or
storage class
bank.c:185: warning: type defaults to `int' in
declaration of `send_to_char'
bank.c:185: warning: parameter names (without types)
in function declaration
bank.c:185: warning: data definition has no type or
storage class
bank.c:186: parse error before `return'
bank.c:197: parse error before string constant
bank.c:197: warning: type defaults to `int' in
declaration of `send_to_char'
bank.c:197: warning: data definition has no type or
storage class
bank.c:209: parse error before string constant
bank.c:209: warning: type defaults to `int' in
declaration of `send_to_char'
bank.c:209: warning: data definition has no type or
storage class
bank.c:223: parse error before `('
bank.c:223: warning: type defaults to `int' in
declaration of `act_new'
bank.c:223: warning: type defaults to `int' in
declaration of `ch'
bank.c:223: parse error before `void'
bank.c:224: parse error before string constant
bank.c:224: warning: type defaults to `int' in
declaration of `sprintf'
bank.c:224: warning: data definition has no type or
storage class
bank.c:225: warning: type defaults to `int' in
declaration of `send_to_char'
bank.c:225: warning: parameter names (without types)
in function declaration
bank.c:225: warning: data definition has no type or
storage class
bank.c:226: parse error before `return'
bank.c:240: parse error before `('
bank.c:240: warning: type defaults to `int' in
declaration of `act_new'
bank.c:240: warning: type defaults to `int' in
declaration of `ch'
bank.c:240: parse error before `void'
bank.c:241: parse error before string constant
bank.c:241: warning: type defaults to `int' in
declaration of `sprintf'
bank.c:241: warning: data definition has no type or
storage class
bank.c:242: warning: type defaults to `int' in
declaration of `send_to_char'
bank.c:242: warning: parameter names (without types)
in function declaration
bank.c:242: warning: data definition has no type or
storage class
bank.c:243: parse error before `return'
bank.c:256: parse error before string constant
bank.c:256: warning: type defaults to `int' in
declaration of `send_to_char'
bank.c:256: warning: data definition has no type or
storage class
bank.c: In function `do_withdraw':
bank.c:277: parse error before `{'
bank.c:270: warning: unused variable `buf'
bank.c:269: warning: unused variable `arg2'
bank.c:268: warning: unused variable `arg1'
bank.c:267: warning: unused variable `class'
bank.c:266: warning: unused variable `amount'
bank.c: At top level:
bank.c:281: parse error before `if'
bank.c:296: warning: type defaults to `int' in
declaration of `argument'
bank.c:296: redefinition of `argument'
bank.c:117: `argument' previously defined here
bank.c:296: `arg2' undeclared here (not in a function)
bank.c:296: warning: passing arg 1 of `one_argument'
makes pointer from intege
without a cast
bank.c:296: warning: initialization makes integer from
pointer without a cast
bank.c:296: initializer element is not constant
bank.c:296: warning: data definition has no type or
storage class
bank.c:297: parse error before `if'
bank.c:303: parse error before string constant
bank.c:303: warning: type defaults to `int' in
declaration of `send_to_char'
bank.c:303: warning: data definition has no type or
storage class
bank.c:308: parse error before string constant
bank.c:308: warning: type defaults to `int' in
declaration of `send_to_char'
bank.c:308: warning: data definition has no type or
storage class
bank.c:310: parse error before string constant
bank.c:310: warning: type defaults to `int' in
declaration of `send_to_char'
bank.c:310: warning: data definition has no type or
storage class
bank.c:318: parse error before string constant
bank.c:318: warning: type defaults to `int' in
declaration of `send_to_char'
bank.c:318: warning: data definition has no type or
storage class
bank.c:330: parse error before string constant
bank.c:330: warning: type defaults to `int' in
declaration of `send_to_char'
bank.c:330: warning: data definition has no type or
storage class
bank.c:344: parse error before `('
bank.c:344: warning: type defaults to `int' in
declaration of `act_new'
bank.c:344: warning: type defaults to `int' in
declaration of `ch'
bank.c:344: parse error before `void'
bank.c:345: parse error before string constant
bank.c:345: warning: type defaults to `int' in
declaration of `sprintf'
bank.c:345: warning: data definition has no type or
storage class
bank.c:346: warning: type defaults to `int' in
declaration of `send_to_char'
bank.c:346: warning: parameter names (without types)
in function declaration
bank.c:346: warning: data definition has no type or
storage class
bank.c:347: parse error before `return'
bank.c:361: parse error before `('
bank.c:361: warning: type defaults to `int' in
declaration of `act_new'
bank.c:361: warning: type defaults to `int' in
declaration of `ch'
bank.c:361: parse error before `void'
bank.c:362: parse error before string constant
bank.c:362: warning: type defaults to `int' in
declaration of `sprintf'
bank.c:362: warning: data definition has no type or
storage class
bank.c:363: warning: type defaults to `int' in
declaration of `send_to_char'
bank.c:363: warning: parameter names (without types)
in function declaration
bank.c:363: warning: data definition has no type or
storage class
bank.c:364: parse error before `return'
bank.c:379: parse error before string constant
bank.c:379: warning: type defaults to `int' in
declaration of `send_to_char'
bank.c:379: warning: data definition has no type or
storage class
bank.c:404: parse error before `('
bank.c:404: warning: type defaults to `int' in
declaration of `act_new'
bank.c:404: warning: type defaults to `int' in
declaration of `ch'
bank.c:404: parse error before `void'
bank.c:405: parse error before string constant
bank.c:405: warning: type defaults to `int' in
declaration of `sprintf'
bank.c:405: warning: data definition has no type or
storage class
bank.c:406: warning: type defaults to `int' in
declaration of `send_to_char'
bank.c:406: warning: parameter names (without types)
in function declaration
bank.c:406: warning: data definition has no type or
storage class
bank.c:407: parse error before `return'
bank.c:421: parse error before `('
bank.c:421: warning: type defaults to `int' in
declaration of `act_new'
bank.c:421: warning: type defaults to `int' in
declaration of `ch'
bank.c:421: parse error before `void'
bank.c:422: parse error before string constant
bank.c:422: warning: type defaults to `int' in
declaration of `sprintf'
bank.c:422: warning: data definition has no type or
storage class
bank.c:423: warning: type defaults to `int' in
declaration of `send_to_char'
bank.c:423: warning: parameter names (without types)
in function declaration
bank.c:423: warning: data definition has no type or
storage class
bank.c:424: parse error before `return'
bank.c:437: parse error before string constant
bank.c:437: warning: type defaults to `int' in
declaration of `send_to_char'
bank.c:437: warning: data definition has no type or
storage class
bank.c: In function `do_change':
bank.c:466: parse error before `{'
bank.c:470: parse error before `else'
bank.c: At top level:
bank.c:533: parse error before `else'
bank.c:550: warning: type defaults to `int' in
declaration of `send_to_char'
bank.c:550: warning: parameter names (without types)
in function declaration
bank.c:550: warning: data definition has no type or
storage class
bank.c:551: parse error before `return'
bank.c:558: parse error before string constant
bank.c:558: warning: type defaults to `int' in
declaration of `sprintf'
bank.c:558: warning: data definition has no type or
storage class
bank.c:559: warning: type defaults to `int' in
declaration of `send_to_char'
bank.c:559: warning: parameter names (without types)
in function declaration
bank.c:559: warning: data definition has no type or
storage class
bank.c:560: parse error before `return'
bank.c:567: parse error before string constant
bank.c:567: warning: type defaults to `int' in
declaration of `send_to_char'
bank.c:567: warning: data definition has no type or
storage class
bank.c:568: parse error before string constant
bank.c:568: warning: type defaults to `int' in
declaration of `send_to_char'
bank.c:568: warning: data definition has no type or
storage class
bank.c:569: parse error before string constant
bank.c:569: warning: type defaults to `int' in
declaration of `send_to_char'
bank.c:569: warning: data definition has no type or
storage class
bank.c:577: parse error before string constant
bank.c:577: warning: type defaults to `int' in
declaration of `send_to_char'
bank.c:577: warning: data definition has no type or
storage class
bank.c:578: parse error before string constant
bank.c:578: warning: type defaults to `int' in
declaration of `send_to_char'
bank.c:578: warning: data definition has no type or
storage class
bank.c:584: parse error before string constant
bank.c:584: warning: type defaults to `int' in
declaration of `send_to_char'
bank.c:584: warning: data definition has no type or
storage class
bank.c: In function `do_share':
bank.c:624: parse error before `{'
bank.c: At top level:
bank.c:801: parse error before `return'
make: *** [obj/bank.o] Error 1
__________________________________________________
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/