Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ SMAUG
➜ SMAUG coding
➜ powerlevel
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Jinru
USA (20 posts) Bio
|
| Date
| Sat 13 Mar 2004 06:12 AM (UTC) |
| Message
| k now i get these errors
fight.c:4261: parse error before "if"
fight.c:4288: warning: type defaults to `int' in declaration of `xp_gain'
fight.c:4288: `dam' undeclared here (not in a function)
fight.c:4288: parse error before "pow"
fight.c:4319: warning: type defaults to `int' in declaration of `pl_exp'
fight.c:4319: `ch' undeclared here (not in a function)
fight.c:4319: `ch' undeclared here (not in a function)
fight.c:4319: warning: data definition has no type or storage class
fight.c:4320: warning: type defaults to `int' in declaration of `xp_gain'
fight.c:4320: redefinition of `xp_gain'
fight.c:4288: `xp_gain' previously defined here
fight.c:4320: initializer element is not constant
fight.c:4320: warning: data definition has no type or storage class
fight.c:4321: parse error before '}' token
fight.c:4331: warning: type defaults to `int' in declaration of `xp_gain_post'
fight.c:4331: `ch' undeclared here (not in a function)
fight.c:4331: warning: data definition has no type or storage class
fight.c:4342: warning: type defaults to `int' in declaration of `gain_exp'
fight.c:4342: warning: parameter names (without types) in function declaration
fight.c:4342: conflicting types for `gain_exp'
mud.h:5125: previous declaration of `gain_exp'
fight.c:4342: warning: data definition has no type or storage class
fight.c:4344: parse error before '&&' token
fight.c:4352: warning: type defaults to `int' in declaration of `gain_exp'
fight.c:4352: warning: parameter names (without types) in function declaration
fight.c:4352: warning: data definition has no type or storage class
make[1]: *** [o/fight.o] Error 1
make: *** [all] Error 2
|
-(Jinru)-
admin at
dbzuov.sytes.net port 4003 | | Top |
|
| Posted by
| Nick Gammon
Australia (23,165 posts) Bio
Forum Administrator |
| Date
| Reply #1 on Sat 13 Mar 2004 09:52 PM (UTC) |
| Message
| Hard to say. I know we ask you to post the error message, but an error message without the code that causes it is almost as bad as code without the error message.
My guess from "`dam' undeclared here (not in a function)" is that you have a brace out of place. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
9,621 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top