- Posts: 217
- Thank you received: 22
Please Log in or Create an account to join the conversation.
Papaya Pete wrote: Yeah I did, right after #include "genobj.h" I put #include "races.h".
Now that I think about it, there was one addition I was making to the code as I was putting in this snippit: I added two additional races, but copied the same format as the standard three races you've coded in. Not sure if that would cause this problem though...
By tonight I'll try starting from scratch and just add in those standard three, if it still doesn't work.
Please Log in or Create an account to join the conversation.
Those would not affect it. It's something small. Are you getting the same errors?
Please Log in or Create an account to join the conversation.
Papaya Pete wrote:
Those would not affect it. It's something small. Are you getting the same errors?
The same errors as mentioned earlier? Yeah, sure am.
Code:gcc -g -O2 -Wall -Wno-char-subscripts -c -o dg_variables.o dg_variables.c dg_variables.c: In function ‘find_replacement’: dg_variables.c:972:13: warning: statement with no effect dg_variables.c:972:25: error: expected expression before ‘=’ token dg_variables.c:978:22: error: expected ‘)’ before ‘;’ token gg_variables.c:978:22: error: too few arguments to function ‘sprinttype’
Haha, you know, if it is small, if I walk away for a few hours and then take another look at it I'll probably find it.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Halenbane wrote:
Papaya Pete wrote:
Those would not affect it. It's something small. Are you getting the same errors?
The same errors as mentioned earlier? Yeah, sure am.
Code:gcc -g -O2 -Wall -Wno-char-subscripts -c -o dg_variables.o dg_variables.c dg_variables.c: In function ‘find_replacement’: dg_variables.c:972:13: warning: statement with no effect dg_variables.c:972:25: error: expected expression before ‘=’ token dg_variables.c:978:22: error: expected ‘)’ before ‘;’ token gg_variables.c:978:22: error: too few arguments to function ‘sprinttype’
Haha, you know, if it is small, if I walk away for a few hours and then take another look at it I'll probably find it.
Can you post lines 900 - 1000 of your dg_variables.c?
Should make it easier to narrow down based on your errors.
Please Log in or Create an account to join the conversation.
tbaMUD © 2024