Jump to content
  • 0

skill.c and battle.c


JLance

Question


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  19
  • Reputation:   0
  • Joined:  09/04/13
  • Last Seen:  

I just updated my svn r17535 and I got this

do i have to worry? Please answer :/




make[1]: Entering directory `/root/Desktop/trunk/3rdparty/mt19937ar'
	CC	mt19937ar.c
make[1]: Leaving directory `/root/Desktop/trunk/3rdparty/mt19937ar'
make[1]: Entering directory `/root/Desktop/trunk/3rdparty/libconfig'
	CC	libconfig.c
	CC	grammar.c
	CC	scanctx.c
	CC	scanner.c
	CC	strbuf.c
make[1]: Leaving directory `/root/Desktop/trunk/3rdparty/libconfig'
make[1]: Entering directory `/root/Desktop/trunk/src/common'
	MKDIR	obj_all
	CC	core.c
	CC	socket.c
	CC	timer.c
	CC	db.c
	CC	nullpo.c
	CC	malloc.c
	CC	showmsg.c
	CC	strlib.c
	CC	utils.c
	CC	grfio.c
	CC	mapindex.c
	CC	ers.c
	CC	md5calc.c
	CC	core.c
	CC	socket.c
	CC	malloc.c
	CC	random.c
	CC	des.c
	CC	conf.c
	CC	thread.c
	CC	mutex.c
	CC	raconf.c
	CC	mempool.c
	CC	msg_conf.c
	CC	cli.c
	AR	obj_all/common.a
	MKDIR	obj_sql
	CC	sql.c
	AR	obj_sql/common_sql.a
make[1]: Leaving directory `/root/Desktop/trunk/src/common'
make[1]: Entering directory `/root/Desktop/trunk/src/login'
	MKDIR	obj_sql
	CC	login.c
	CC	account_sql.c
	CC	ipban_sql.c
	CC	loginlog_sql.c
	LD	login-server
make[1]: Leaving directory `/root/Desktop/trunk/src/login'
make[1]: Entering directory `/root/Desktop/trunk/src/char'
	MKDIR	obj_sql
	CC	char.c
	CC	inter.c
	CC	int_party.c
	CC	int_guild.c
	CC	int_storage.c
	CC	int_pet.c
	CC	int_homun.c
	CC	int_mail.c
	CC	int_auction.c
	CC	int_quest.c
	CC	int_mercenary.c
	CC	int_elemental.c
	LD	char-server
make[1]: Leaving directory `/root/Desktop/trunk/src/char'
make[1]: Entering directory `/root/Desktop/trunk/src/map'
	MKDIR	obj_sql
	CC	map.c
	CC	chrif.c
	CC	clif.c
	CC	pc.c
	CC	status.c
	CC	npc.c
	CC	npc_chat.c
	CC	chat.c
	CC	path.c
	CC	itemdb.c
	CC	mob.c
	CC	script.c
	CC	storage.c
	CC	skill.c
skill.c: In function 'skill_parse_row_nonearnpcrangedb'
skill.c:18327: warning: comparison is always false due to limited range of data type
	CC	atcommand.c
	CC	battle.c
battle.c: In function 'is_attack_piercing'
battle.c:2016: warning: suggest explicit braces to avoid ambiguous 'else'
	CC	battleground.c
	CC	intif.c
	CC	trade.c
	CC	party.c
	CC	vending.c
	CC	guild.c
	CC	pet.c
	CC	log.c
	CC	mail.c
	CC	date.c
	CC	unit.c
	CC	homunculus.c
	CC	mercenary.c
	CC	quest.c
	CC	instance.c
	CC	buyingstore.c
	CC	searchstore.c
	CC	duel.c
	CC	pc_groups.c
	CC	elemental.c
	CC	cashshop.c
	CC	channel.c
	CC	mapreg_sql.c
	LD	map-server
make[1]: Leaving directory `/root/Desktop/trunk/src/map'
building conf/import and conf/msg_conf/import folder...

 

    CC    skill.c
skill.c: In function '
skill_parse_row_nonearnpcrangedb'
skill.c:18327: warning: comparison is always false due to limited range of data type
    CC    atcommand.c
    CC    battle.c
battle.c: In function '
is_attack_piercing'
battle.c:2016: warning: suggest explicit braces to avoid ambiguous '
else'

Edited by JLance
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  32
  • Topics Per Day:  0.01
  • Content Count:  178
  • Reputation:   16
  • Joined:  06/25/12
  • Last Seen:  

those are just warnings,

 

suggest explicit braces to avoid ambiguous 'else'

follow the suggestion to remove the warning,

 

skill.c:18327: warning: comparison is always false due to limited range of data type

if i recall correctly this warning appears when trunk/src/core.h skill_damage_db is active

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  44
  • Reputation:   0
  • Joined:  04/26/12
  • Last Seen:  

- I have a similar problem with both files, except compiling fails due to the error.

 

-  error C2065: 'SC_TELEKINESIS_INTENSE' : undeclared identifier, there were more errors concerning different skills, lemme get the list one sec.

 

 

>>> Update <<<

 

- I'll post a new topic, since it seems to be a whole different kinda problem.

Edited by Leehalt
Link to comment
Share on other sites

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...