• 0
Sign in to follow this  
sweetmole

@aura error

Question

Posted (edited)

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.

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this