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
➜ ROM
➜ Compiling the server
➜ Warfare Errors Part 3
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Lupercus
(4 posts) Bio
|
| Date
| Thu 28 Mar 2002 03:49 AM (UTC) |
| Message
| And finally, fight.c
gcc fight.c -Wall -O -ggdb -DNOCRYPT -c -o obj/fight.o
fight.c: In function `one_hit':
fight.c:592: warning: suggest explicit braces to avoid ambiguous `else'
fight.c: In function `damage':
fight.c:776: warning: suggest parentheses around && within ||
fight.c:881: parse error before '(' token
fight.c: At top level:
fight.c:1009: parse error before "if"
fight.c:1046: warning: type defaults to `int' in declaration of `tail_chain'
fight.c:1046: conflicting types for `tail_chain'
merc.h:2556: previous declaration of `tail_chain'
fight.c:1046: warning: data definition has no type or storage class
fight.c:1047: parse error before "return"
fight.c: In function `dam_message':
fight.c:2104: warning: `attack' might be used uninitialized in this function
make: [obj/fight.o] Error 1 (ignored)
Thank you for any feedback on this. I really want to get this to work.
Lupercus | | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #1 on Thu 28 Mar 2002 05:10 AM (UTC) |
| Message
| This is very hard to comment on. You have given the error messages, but not the code that causes them. You say you "got some code" and "fixed some stuff up". It is hard to say whether:
* The original code didn't work
* It wasn't designed for ROM, or this version
* The patches didn't work properly
* Your fixes caused problems |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| Lupercus
(4 posts) Bio
|
| Date
| Reply #2 on Thu 28 Mar 2002 03:51 PM (UTC) |
| Message
| Alright, I'll try what you've suggested so far. Would it help if I provided the code?
Lupercus | | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #3 on Fri 29 Mar 2002 10:54 PM (UTC) |
| Message
| I can't really debug patches provided by a third party to tens of thousands of lines of ROM code.
I suggest you go to where you got the patches and see if they have a patched version you can have that compiles OK. |
- 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.
15,106 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top