Jump to content
  • 0

@aura error


sweetmole

Question


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  26
  • Reputation:   3
  • Joined:  02/25/13
  • Last Seen:  

Hello everyone can someone help me please whenever i try to recompile the server this message came up, btw this source modification is @aura command , also i attached my cliff flle 

 

clif.c:204:3: error: stray '@' in program
 * @aura
   ^
clif.c:205:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
 *------------------------------------------*/
 ^
clif.c: In function 'aura_getSize':
clif.c:282:16: error: 'auraTable' undeclared (first use in this function)
  return sizeof(auraTable) / (sizeof(int) * 3) - 1;
                ^
clif.c:282:16: note: each undeclared identifier is reported only once for each function it appears in
clif.c: In function 'aura_getAuraEffect':
clif.c:295:9: error: 'auraTable' undeclared (first use in this function)
  return auraTable[aura][pos];
         ^
clif.c: At top level:
clif.c:338:1: warning: "/*" within comment [-Wcomment]
 /*==========================================
 ^
clif.c: In function 'clif_getareachar_unit':
clif.c:4759:4: error: 'else' without a previous 'if'
    else if(tsd->state.size==SZ_MEDIUM)
    ^
clif.c: In function 'aura_getSize':
clif.c:283:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
clif.c: In function 'aura_getAuraEffect':
clif.c:296:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
make[1]: *** [obj/clif.o] Error 1
make[1]: Leaving directory `/root/trunk/src/map'
make: *** [map] Error 2

 

cliff.txt

Edited by Akkarin
Please use codebox in future.
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...