I just updated my files to the latest git and encounter this error after recompiling.. any ideas why and how to fix it?
thanks in advance!!
ERRORS:
1>c:\users\desktop\rathena\src\map\cashshop.c(34): error C2065: 'sd' : undeclared identifier
1>c:\users\desktop\rathena\src\map\cashshop.c(34): error C2223: left of '->state' must point to struct/union
1>c:\users\desktop\rathena\src\map\cashshop.c(35): error C2065: 'sd' : undeclared identifier
1>c:\users\desktop\rathena\src\map\cashshop.c(35): error C2223: left of '->fd' must point to struct/union
1>c:\users\desktop\rathena\src\map\cashshop.c(35): warning C4047: 'function' : 'const int' differs in levels of indirection from 'char [24]'
1>c:\users\desktop\rathena\src\map\cashshop.c(35): warning C4024: 'clif_displaymessage' : different types for formal and actual parameter 1
1>c:\users\desktop\rathena\src\map\cashshop.c(35): error C2198: 'clif_displaymessage' : too few arguments for call
1> clif.c
3> int_party.c
3> int_pet.c
3> int_quest.c
1>c:\users\desktop\rathena\src\map\atcommand.c(1110): error C2143: syntax error : missing ';' before 'type'
1>c:\users\desktop\rathena\src\map\atcommand.c(1114): error C2059: syntax error : 'if'
1>c:\users\desktop\rathena\src\map\atcommand.c(1119): error C2143: syntax error : missing ')' before '('
1>c:\users\desktop\rathena\src\map\atcommand.c(1119): error C2143: syntax error : missing ')' before '('
1>c:\users\desktop\rathena\src\map\atcommand.c(1119): error C2091: function returns function
1>c:\users\desktop\rathena\src\map\atcommand.c(1119): error C2091: function returns function
1>c:\users\desktop\rathena\src\map\atcommand.c(1119): error C2143: syntax error : missing '{' before 'constant'
1>c:\users\desktop\rathena\src\map\atcommand.c(1119): error C2059: syntax error : '<Unknown>'
1>c:\users\desktop\rathena\src\map\atcommand.c(1119): error C2059: syntax error : ')'
1>c:\users\desktop\rathena\src\map\atcommand.c(1120): error C2143: syntax error : missing ')' before '->'
1>c:\users\desktop\rathena\src\map\atcommand.c(1120): error C2143: syntax error : missing '{' before '->'
1>c:\users\desktop\rathena\src\map\atcommand.c(1120): error C2059: syntax error : '->'
1>c:\users\desktop\rathena\src\map\atcommand.c(1121): error C2059: syntax error : 'if'
1>c:\users\desktop\rathena\src\map\atcommand.c(1123): error C2059: syntax error : 'return'
1>c:\users\desktop\rathena\src\map\atcommand.c(1124): error C2059: syntax error : '}'
3> int_storage.c
1>c:\users\desktop\rathena\src\map\atcommand.c(10742): error C2065: 'atcommand_kill' : undeclared identifier
1>c:\users\desktop\rathena\src\map\atcommand.c(10742): warning C4047: 'initializing' : 'AtCommandFunc' differs in levels of indirection from 'int'
1>c:\users\desktop\rathena\src\map\atcommand.c(10743): error C2065: 'atcommand_alive' : undeclared identifier
1>c:\users\desktop\rathena\src\map\atcommand.c(10743): warning C4047: 'initializing' : 'AtCommandFunc' differs in levels of indirection from 'int'
atcommand.c Lines 1110-1124:
Line 1110 ACMD_FUNC(kill)
Line 1111 {
Line 1112 nullpo_retr(-1, sd);
Line 1113
Line 1114 if( sd->state.account_protection ) {
Line 1115 clif_displaymessage(sd->fd, "Your Account is Locked.");
Line 1116 return false;
Line 1117 }
Line 1118
Line 1119 status_kill(&sd->bl);
Line 1120 clif_displaymessage(sd->fd, msg_txt(sd,13)); // A pity! You've died.
Line 1121 if (fd != sd->fd)
Line 1122 clif_displaymessage(fd, msg_txt(sd,14)); // Character killed.
Line 1123 return 0;
Line 1124 }
atcommand.c Lines 10742-10743:
Line 10742 ACMD_DEF(kill),
Line 10743 ACMD_DEF(alive),
cashshop.c Lines 34-37:
Line 34 if( sd->state.account_protection ) {
Line 35 clif_displaymessage(sd->fd, "Your Account is Locked.");
Line 36 return false;
Line 37 }
Question
Lord Ganja
I just updated my files to the latest git and encounter this error after recompiling.. any ideas why and how to fix it?
thanks in advance!!
ERRORS:
atcommand.c Lines 1110-1124:
atcommand.c Lines 10742-10743:
cashshop.c Lines 34-37:
Link to comment
Share on other sites
0 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.