Hello guys, help needed to fix these codes ERROR:1>------ Rebuild All started: Project: map-server, Configuration: Debug Win32 ------1> grammar.c1> libconfig.c1> scanctx.c1> scanner.c1> strbuf.c1> mt19937ar.c1> conf.c1> core.c1> console.c1> db.c1> des.c1> ers.c1> grfio.c1> HPM.c1> malloc.c1> mapindex.c1> md5calc.c1> mutex.c1> nullpo.c1> random.c1> showmsg.c1> socket.c1> sql.c1> strlib.c1> sysinfo.c1> thread.c1> timer.c1> utils.c1> atcommand.c1> battle.c1> battleground.c1> buyingstore.c1> channel.c1> chat.c1> chrif.c1> clif.c1> date.c1> duel.c1> elemental.c1> guild.c1> intif.c1> irc-bot.c1> itemdb.c1> log.c1> mail.c1> map.c1> mapreg_sql.c1> homunculus.c1> HPMmap.c1> instance.c1> mercenary.c1> mob.c1> npc.c1> npc_chat.c1> party.c1> path.c1> pc.c1> pc_groups.c1> pet.c1> quest.c1> script.c1>e:mightyroherctrunksrcmappc.c(1373): warning C4047: 'function' : 'int64' differs in levels of indirection from 'char [14]'1>e:mightyroherctrunksrcmappc.c(1373): warning C4024: 'function through pointer' : different types for formal and actual parameter 21> searchstore.c1>e:mightyroherctrunksrcmappc.c(5578): warning C4047: '!=' : 'mapindex_interface *' differs in levels of indirection from 'int'1>e:mightyroherctrunksrcmappc.c(5579): warning C4013: 'mapindex_name2id' undefined; assuming extern returning int1>e:mightyroherctrunksrcmappc.c(5584): warning C4013: 'npc_event_doall_id' undefined; assuming extern returning int1>e:mightyroherctrunksrcmappc.c(7560): warning C4047: 'function' : 'int64' differs in levels of indirection from 'char [15]'1>e:mightyroherctrunksrcmappc.c(7560): warning C4024: 'function through pointer' : different types for formal and actual parameter 21>e:mightyroherctrunksrcmappc.c(7561): warning C4047: 'function' : 'int64' differs in levels of indirection from 'char [10]'1>e:mightyroherctrunksrcmappc.c(7561): warning C4024: 'function through pointer' : different types for formal and actual parameter 21>e:mightyroherctrunksrcmapscript.c(286): warning C4013: 'pet_lootitem_drop' undefined; assuming extern returning int1>e:mightyroherctrunksrcmapscript.c(294): warning C4013: 'pc_additem' undefined; assuming extern returning int1>e:mightyroherctrunksrcmapscript.c(295): warning C4013: 'clif_additem' undefined; assuming extern returning int1>e:mightyroherctrunksrcmapscript.c(296): warning C4013: 'map_addflooritem' undefined; assuming extern returning int1>e:mightyroherctrunksrcmapscript.c(305): warning C4013: 'unit_free' undefined; assuming extern returning int1> skill.c1> status.c1>e:mightyroherctrunksrcmapscript.c(6210): error C2065: 'st' : undeclared identifier1>e:mightyroherctrunksrcmapscript.c(6210): warning C4047: 'function' : 'script_state *' differs in levels of indirection from 'int'1>e:mightyroherctrunksrcmapscript.c(6210): warning C4024: 'function through pointer' : different types for formal and actual parameter 11>e:mightyroherctrunksrcmapscript.c(6210): error C2223: left of '->stack' must point to struct/union1>e:mightyroherctrunksrcmapscript.c(6210): error C2223: left of '->start' must point to struct/union1>e:mightyroherctrunksrcmapscript.c(6210): error C2198: 'function through pointer' : too few arguments for call1>e:mightyroherctrunksrcmapscript.c(6222): error C2065: 'st' : undeclared identifier1>e:mightyroherctrunksrcmapscript.c(6222): error C2223: left of '->stack' must point to struct/union1>e:mightyroherctrunksrcmapscript.c(6222): warning C4047: 'function' : 'script_stack *' differs in levels of indirection from 'int'1>e:mightyroherctrunksrcmapscript.c(6222): warning C4024: 'function through pointer' : different types for formal and actual parameter 11>e:mightyroherctrunksrcmapscript.c(6222): warning C4047: 'function' : 'int64' differs in levels of indirection from 'void *'1>e:mightyroherctrunksrcmapscript.c(6222): warning C4024: 'function through pointer' : different types for formal and actual parameter 31>e:mightyroherctrunksrcmapscript.c(6222): error C2198: 'function through pointer' : too few arguments for call1>e:mightyroherctrunksrcmapscript.c(6228): error C2084: function 'int BUILDIN_FUNC()' already has a body1> e:mightyroherctrunksrcmapscript.c(6204) : see previous definition of 'BUILDIN_FUNC'1>e:mightyroherctrunksrcmapscript.c(6233): error C2065: 'st' : undeclared identifier1>e:mightyroherctrunksrcmapscript.c(6233): warning C4047: 'function' : 'script_state *' differs in levels of indirection from 'int'1>e:mightyroherctrunksrcmapscript.c(6233): warning C4024: 'function through pointer' : different types for formal and actual parameter 11>e:mightyroherctrunksrcmapscript.c(6233): error C2223: left of '->stack' must point to struct/union1>e:mightyroherctrunksrcmapscript.c(6233): error C2223: left of '->start' must point to struct/union1>e:mightyroherctrunksrcmapscript.c(6233): error C2198: 'function through pointer' : too few arguments for call1>e:mightyroherctrunksrcmapscript.c(6242): error C2065: 'st' : undeclared identifier1>e:mightyroherctrunksrcmapscript.c(6242): error C2223: left of '->stack' must point to struct/union1>e:mightyroherctrunksrcmapscript.c(6242): warning C4047: 'function' : 'script_stack *' differs in levels of indirection from 'int'1>e:mightyroherctrunksrcmapscript.c(6242): warning C4024: 'function through pointer' : different types for formal and actual parameter 11>e:mightyroherctrunksrcmapscript.c(6242): warning C4047: 'function' : 'int64' differs in levels of indirection from 'void *'1>e:mightyroherctrunksrcmapscript.c(6242): warning C4024: 'function through pointer' : different types for formal and actual parameter 31>e:mightyroherctrunksrcmapscript.c(6242): error C2198: 'function through pointer' : too few arguments for call1>e:mightyroherctrunksrcmapscript.c(6254): error C2065: 'st' : undeclared identifier1>e:mightyroherctrunksrcmapscript.c(6254): warning C4047: 'function' : 'script_state *' differs in levels of indirection from 'int'1>e:mightyroherctrunksrcmapscript.c(6254): warning C4024: 'function through pointer' : different types for formal and actual parameter 11>e:mightyroherctrunksrcmapscript.c(6254): error C2223: left of '->stack' must point to struct/union1>e:mightyroherctrunksrcmapscript.c(6254): error C2223: left of '->start' must point to struct/union1>e:mightyroherctrunksrcmapscript.c(6254): error C2198: 'function through pointer' : too few arguments for call1>e:mightyroherctrunksrcmapscript.c(6255): warning C4013: 'mapindex_name2id' undefined; assuming extern returning int1>e:mightyroherctrunksrcmapscript.c(6256): error C2065: 'st' : undeclared identifier1>e:mightyroherctrunksrcmapscript.c(6256): warning C4047: 'function' : 'script_state *' differs in levels of indirection from 'int'1>e:mightyroherctrunksrcmapscript.c(6256): warning C4024: 'function through pointer' : different types for formal and actual parameter 11>e:mightyroherctrunksrcmapscript.c(6256): error C2223: left of '->stack' must point to struct/union1>e:mightyroherctrunksrcmapscript.c(6256): error C2223: left of '->start' must point to struct/union1>e:mightyroherctrunksrcmapscript.c(6256): error C2198: 'function through pointer' : too few arguments for call1>e:mightyroherctrunksrcmapscript.c(6268): error C2065: 'st' : undeclared identifier1>e:mightyroherctrunksrcmapscript.c(6268): error C2223: left of '->stack' must point to struct/union1>e:mightyroherctrunksrcmapscript.c(6268): warning C4047: 'function' : 'script_stack *' differs in levels of indirection from 'int'1>e:mightyroherctrunksrcmapscript.c(6268): warning C4024: 'function through pointer' : different types for formal and actual parameter 11>e:mightyroherctrunksrcmapscript.c(6268): warning C4047: 'function' : 'int64' differs in levels of indirection from 'void *'1>e:mightyroherctrunksrcmapscript.c(6268): warning C4024: 'function through pointer' : different types for formal and actual parameter 31>e:mightyroherctrunksrcmapscript.c(6268): error C2198: 'function through pointer' : too few arguments for call1>e:mightyroherctrunksrcmapscript.c(6278): error C2065: 'st' : undeclared identifier1>e:mightyroherctrunksrcmapscript.c(6278): warning C4047: 'function' : 'script_state *' differs in levels of indirection from 'int'1>e:mightyroherctrunksrcmapscript.c(6278): warning C4024: 'function through pointer' : different types for formal and actual parameter 11>e:mightyroherctrunksrcmapscript.c(6278): error C2223: left of '->stack' must point to struct/union1>e:mightyroherctrunksrcmapscript.c(6278): error C2223: left of '->start' must point to struct/union1>e:mightyroherctrunksrcmapscript.c(6278): error C2198: 'function through pointer' : too few arguments for call1>e:mightyroherctrunksrcmapscript.c(6279): error C2065: 'st' : undeclared identifier1>e:mightyroherctrunksrcmapscript.c(6279): error C2223: left of '->rid' must point to struct/union1>e:mightyroherctrunksrcmapscript.c(6279): error C2198: 'function through pointer' : too few arguments for call1>e:mightyroherctrunksrcmapscript.c(6293): warning C4013: 'intif_party_leaderchange' undefined; assuming extern returning int1>e:mightyroherctrunksrcmapscript.c(6296): error C2063: 'party_leave' : not a function1>e:mightyroherctrunksrcmapscript.c(6312): error C2065: 'st' : undeclared identifier1>e:mightyroherctrunksrcmapscript.c(6312): warning C4047: 'function' : 'script_state *' differs in levels of indirection from 'int'1>e:mightyroherctrunksrcmapscript.c(6312): warning C4024: 'function through pointer' : different types for formal and actual parameter 11>e:mightyroherctrunksrcmapscript.c(6312): error C2223: left of '->stack' must point to struct/union1>e:mightyroherctrunksrcmapscript.c(6312): error C2223: left of '->start' must point to struct/union1>e:mightyroherctrunksrcmapscript.c(6312): error C2198: 'function through pointer' : too few arguments for call1>e:mightyroherctrunksrcmapscript.c(6313): error C2065: 'st' : undeclared identifier1>e:mightyroherctrunksrcmapscript.c(6313): warning C4047: 'function' : 'script_state *' differs in levels of indirection from 'int'1>e:mightyroherctrunksrcmapscript.c(6313): warning C4024: 'function through pointer' : different types for formal and actual parameter 11>e:mightyroherctrunksrcmapscript.c(6313): error C2223: left of '->stack' must point to struct/union1>e:mightyroherctrunksrcmapscript.c(6313): error C2223: left of '->start' must point to struct/union1>e:mightyroherctrunksrcmapscript.c(6313): error C2198: 'function through pointer' : too few arguments for call1>e:mightyroherctrunksrcmapscript.c(6315): error C2065: 'st' : undeclared identifier1>e:mightyroherctrunksrcmapscript.c(6315): error C2223: left of '->rid' must point to struct/union1>e:mightyroherctrunksrcmapscript.c(6315): error C2198: 'function through pointer' : too few arguments for call1>e:mightyroherctrunksrcmapscript.c(6323): warning C4013: 'intif_party_addmember' undefined; assuming extern returning int1>e:mightyroherctrunksrcmapscript.c(6324): error C2065: 'st' : undeclared identifier1>e:mightyroherctrunksrcmapscript.c(6324): error C2223: left of '->stack' must point to struct/union1>e:mightyroherctrunksrcmapscript.c(6324): warning C4047: 'function' : 'script_stack *' differs in levels of indirection from 'int'1>e:mightyroherctrunksrcmapscript.c(6324): warning C4024: 'function through pointer' : different types for formal and actual parameter 11>e:mightyroherctrunksrcmapscript.c(6324): warning C4047: 'function' : 'int64' differs in levels of indirection from 'void *'1>e:mightyroherctrunksrcmapscript.c(6324): warning C4024: 'function through pointer' : different types for formal and actual parameter 31>e:mightyroherctrunksrcmapscript.c(6324): error C2198: 'function through pointer' : too few arguments for call1>e:mightyroherctrunksrcmapscript.c(6329): error C2065: 'st' : undeclared identifier1>e:mightyroherctrunksrcmapscript.c(6329): error C2223: left of '->stack' must point to struct/union1>e:mightyroherctrunksrcmapscript.c(6329): warning C4047: 'function' : 'script_stack *' differs in levels of indirection from 'int'1>e:mightyroherctrunksrcmapscript.c(6329): warning C4024: 'function through pointer' : different types for formal and actual parameter 11>e:mightyroherctrunksrcmapscript.c(6329): warning C4047: 'function' : 'int64' differs in levels of indirection from 'void *'1>e:mightyroherctrunksrcmapscript.c(6329): warning C4024: 'function through pointer' : different types for formal and actual parameter 31>e:mightyroherctrunksrcmapscript.c(6329): error C2198: 'function through pointer' : too few arguments for call1>e:mightyroherctrunksrcmapscript.c(6340): error C2065: 'st' : undeclared identifier1>e:mightyroherctrunksrcmapscript.c(6340): warning C4047: 'function' : 'script_state *' differs in levels of indirection from 'int'1>e:mightyroherctrunksrcmapscript.c(6340): warning C4024: 'function through pointer' : different types for formal and actual parameter 11>e:mightyroherctrunksrcmapscript.c(6340): error C2223: left of '->stack' must point to struct/union1>e:mightyroherctrunksrcmapscript.c(6340): error C2223: left of '->start' must point to struct/union1>e:mightyroherctrunksrcmapscript.c(6340): error C2198: 'function through pointer' : too few arguments for call1>e:mightyroherctrunksrcmapscript.c(6349): warning C4013: 'intif_party_leave' undefined; assuming extern returning int1>e:mightyroherctrunksrcmapscript.c(6358): error C2065: 'st' : undeclared identifier1>e:mightyroherctrunksrcmapscript.c(6358): warning C4047: 'function' : 'script_state *' differs in levels of indirection from 'int'1>e:mightyroherctrunksrcmapscript.c(6358): warning C4024: 'function through pointer' : different types for formal and actual parameter 11>e:mightyroherctrunksrcmapscript.c(6358): error C2223: left of '->stack' must point to struct/union1>e:mightyroherctrunksrcmapscript.c(6358): error C2223: left of '->start' must point to struct/union1>e:mightyroherctrunksrcmapscript.c(6358): error C2198: 'function through pointer' : too few arguments for call1>e:mightyroherctrunksrcmapscript.c(6374): error C2065: 'st' : undeclared identifier1>e:mightyroherctrunksrcmapscript.c(6374): error C2223: left of '->rid' must point to struct/union1>e:mightyroherctrunksrcmapscript.c(6374): error C2198: 'function through pointer' : too few arguments for call1>e:mightyroherctrunksrcmapscript.c(6375): error C2065: 'st' : undeclared identifier1>e:mightyroherctrunksrcmapscript.c(6375): warning C4047: 'function' : 'script_state *' differs in levels of indirection from 'int'1>e:mightyroherctrunksrcmapscript.c(6375): warning C4024: 'function through pointer' : different types for formal and actual parameter 11>e:mightyroherctrunksrcmapscript.c(6375): error C2223: left of '->stack' must point to struct/union1>e:mightyroherctrunksrcmapscript.c(6375): error C2223: left of '->start' must point to struct/union1>e:mightyroherctrunksrcmapscript.c(6375): error C2198: 'function through pointer' : too few arguments for call1>e:mightyroherctrunksrcmapscript.c(6376): error C2065: 'st' : undeclared identifier1>e:mightyroherctrunksrcmapscript.c(6376): warning C4047: 'function' : 'script_state *' differs in levels of indirection from 'int'1>e:mightyroherctrunksrcmapscript.c(6376): warning C4024: 'function through pointer' : different types for formal and actual parameter 11>e:mightyroherctrunksrcmapscript.c(6376): error C2223: left of '->stack' must point to struct/union1>e:mightyroherctrunksrcmapscript.c(6376): error C2223: left of '->start' must point to struct/union1>e:mightyroherctrunksrcmapscript.c(6376): error C2198: 'function through pointer' : too few arguments for call1>e:mightyroherctrunksrcmapscript.c(6377): error C2065: 'st' : undeclared identifier1>e:mightyroherctrunksrcmapscript.c(6377): warning C4047: 'function' : 'script_state *' differs in levels of indirection from 'int'1>e:mightyroherctrunksrcmapscript.c(6377): warning C4024: 'function through pointer' : different types for formal and actual parameter 11>e:mightyroherctrunksrcmapscript.c(6377): error C2223: left of '->stack' must point to struct/union1>e:mightyroherctrunksrcmapscript.c(6377): error C2223: left of '->start' must point to struct/union1>e:mightyroherctrunksrcmapscript.c(6377): error C2198: 'function through pointer' : too few arguments for call1>e:mightyroherctrunksrcmapscript.c(6383): error C2065: 'st' : undeclared identifier1>e:mightyroherctrunksrcmapscript.c(6383): error C2223: left of '->stack' must point to struct/union1>e:mightyroherctrunksrcmapscript.c(6383): warning C4047: 'function' : 'script_stack *' differs in levels of indirection from 'int'1>e:mightyroherctrunksrcmapscript.c(6383): warning C4024: 'function through pointer' : different types for formal and actual parameter 11>e:mightyroherctrunksrcmapscript.c(6383): warning C4047: 'function' : 'int64' differs in levels of indirection from 'void *'1>e:mightyroherctrunksrcmapscript.c(6383): warning C4024: 'function through pointer' : different types for formal and actual parameter 31>e:mightyroherctrunksrcmapscript.c(6383): error C2198: 'function through pointer' : too few arguments for call1>e:mightyroherctrunksrcmapscript.c(6385): error C2065: 'st' : undeclared identifier1>e:mightyroherctrunksrcmapscript.c(6385): error C2223: left of '->stack' must point to struct/union1>e:mightyroherctrunksrcmapscript.c(6385): warning C4047: 'function' : 'script_stack *' differs in levels of indirection from 'int'1>e:mightyroherctrunksrcmapscript.c(6385): warning C4024: 'function through pointer' : different types for formal and actual parameter 11>e:mightyroherctrunksrcmapscript.c(6385): warning C4047: 'function' : 'int64' differs in levels of indirection from 'void *'1>e:mightyroherctrunksrcmapscript.c(6385): warning C4024: 'function through pointer' : different types for formal and actual parameter 31>e:mightyroherctrunksrcmapscript.c(6385): error C2198: 'function through pointer' : too few arguments for call1>e:mightyroherctrunksrcmapscript.c(6388): error C2065: 'st' : undeclared identifier1>e:mightyroherctrunksrcmapscript.c(6388): error C2223: left of '->stack' must point to struct/union1>e:mightyroherctrunksrcmapscript.c(6388): warning C4047: 'function' : 'script_stack *' differs in levels of indirection from 'int'1>e:mightyroherctrunksrcmapscript.c(6388): warning C4024: 'function through pointer' : different types for formal and actual parameter 11>e:mightyroherctrunksrcmapscript.c(6388): warning C4047: 'function' : 'int64' differs in levels of indirection from 'void *'1>e:mightyroherctrunksrcmapscript.c(6388): warning C4024: 'function through pointer' : different types for formal and actual parameter 31>e:mightyroherctrunksrcmapscript.c(6388): error C2198: 'function through pointer' : too few arguments for call1>e:mightyroherctrunksrcmapscript.c(6400): error C2065: 'st' : undeclared identifier1>e:mightyroherctrunksrcmapscript.c(6400): error C2223: left of '->rid' must point to struct/union1>e:mightyroherctrunksrcmapscript.c(6400): error C2198: 'function through pointer' : too few arguments for call1>e:mightyroherctrunksrcmapscript.c(6401): error C2065: 'st' : undeclared identifier1>e:mightyroherctrunksrcmapscript.c(6401): warning C4047: 'function' : 'script_state *' differs in levels of indirection from 'int'1>e:mightyroherctrunksrcmapscript.c(6401): warning C4024: 'function through pointer' : different types for formal and actual parameter 11>e:mightyroherctrunksrcmapscript.c(6401): error C2223: left of '->stack' must point to struct/union1>e:mightyroherctrunksrcmapscript.c(6401): error C2223: left of '->start' must point to struct/union1>e:mightyroherctrunksrcmapscript.c(6401): error C2198: 'function through pointer' : too few arguments for call1>e:mightyroherctrunksrcmapscript.c(6402): error C2065: 'st' : undeclared identifier1>e:mightyroherctrunksrcmapscript.c(6402): warning C4047: 'function' : 'script_state *' differs in levels of indirection from 'int'1>e:mightyroherctrunksrcmapscript.c(6402): warning C4024: 'function through pointer' : different types for formal and actual parameter 11>e:mightyroherctrunksrcmapscript.c(6402): error C2223: left of '->stack' must point to struct/union1>e:mightyroherctrunksrcmapscript.c(6402): error C2223: left of '->start' must point to struct/union1>e:mightyroherctrunksrcmapscript.c(6402): error C2198: 'function through pointer' : too few arguments for call1>e:mightyroherctrunksrcmapscript.c(6403): error C2065: 'st' : undeclared identifier1>e:mightyroherctrunksrcmapscript.c(6403): warning C4047: 'function' : 'script_state *' differs in levels of indirection from 'int'1>e:mightyroherctrunksrcmapscript.c(6403): warning C4024: 'function through pointer' : different types for formal and actual parameter 11>e:mightyroherctrunksrcmapscript.c(6403): error C2223: left of '->stack' must point to struct/union1>e:mightyroherctrunksrcmapscript.c(6403): error C2223: left of '->start' must point to struct/union1>e:mightyroherctrunksrcmapscript.c(6403): error C2198: 'function through pointer' : too few arguments for call1>e:mightyroherctrunksrcmapscript.c(6421): error C2065: 'st' : undeclared identifier1>e:mightyroherctrunksrcmapscript.c(6421): warning C4047: 'function' : 'script_state *' differs in levels of indirection from 'int'1>e:mightyroherctrunksrcmapscript.c(6421): warning C4024: 'function through pointer' : different types for formal and actual parameter 11>e:mightyroherctrunksrcmapscript.c(6421): error C2223: left of '->stack' must point to struct/union1>e:mightyroherctrunksrcmapscript.c(6421): error C2223: left of '->start' must point to struct/union1>e:mightyroherctrunksrcmapscript.c(6421): fatal error C1003: error count exceeds 100; stopping compilation1> storage.c1> trade.c1> unit.c1> vending.c========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
pc.c and script.c is attached in the download section bellow. if anyone can take a look and help me out, that would be really awesome. ~Thanks.
Compile error.
pc.c and script.c is attached in the download section bellow.
if anyone can take a look and help me out, that would be really awesome.
~Thanks.
pc.c
script.c
Share this post
Link to post
Share on other sites