Rev 853 Error compiling
Posted: Fri Sep 11, 2009 11:59 am
I am trying to compile on a brand new Linux (Ubuntu) machine, pretty sure I got all the dependencies installed, but I am getting this compiler error in SpellProcess.cpp:
Specifically:
Any ideas?
Code: Select all
In file included from zoneserver.h:33,
from client.h:26,
from SpellProcess.h:22,
from SpellProcess.cpp:20:
Player.h: In member function âint32 CharacterInstances::FindInstanceIDByZoneID(int32)â:
Player.h:193: warning: comparison between signed and unsigned integer expressions
Player.h: In member function âbool CharacterInstances::FindInstanceByInstanceID(int32, InstanceData*)â:
Player.h:207: warning: comparison between signed and unsigned integer expressions
SpellProcess.cpp: In member function âvoid SpellProcess::Process()â:
SpellProcess.cpp:135: warning: cast from type âconst char*â to type âchar*â casts away constness
SpellProcess.cpp: In member function âbool SpellProcess::DeleteCasterSpell(Spawn*, LuaSpell*)â:
SpellProcess.cpp:277: error: âlua_spellâ was not declared in this scope
SpellProcess.cpp: In member function âbool SpellProcess::ProcessSpell(LuaSpell*, bool)â:
SpellProcess.cpp:303: warning: comparison between signed and unsigned integer expressions
SpellProcess.cpp:318: warning: cast from type âconst char*â to type âchar*â casts away constness
SpellProcess.cpp: In member function âvoid SpellProcess::SendStartCast(LuaSpell*, Client*)â:
SpellProcess.cpp:337: warning: cast from type âconst char*â to type âchar*â casts away constness
SpellProcess.cpp: In member function âvoid SpellProcess::SendFinishedCast(LuaSpell*, Client*)â:
SpellProcess.cpp:355: warning: cast from type âconst char*â to type âchar*â casts away constness
SpellProcess.cpp: In member function âvoid SpellProcess::ProcessSpell(ZoneServer*, Spell*, Entity*, Spawn*, bool)â:
SpellProcess.cpp:583: warning: cast from type âconst char*â to type âchar*â casts away constness
SpellProcess.cpp:589: warning: cast from type âconst char*â to type âchar*â casts away constness
SpellProcess.cpp: In member function âbool SpellProcess::CastProcessedSpell(LuaSpell*)â:
SpellProcess.cpp:650: warning: cast from type âconst char*â to type âchar*â casts away constness
make: *** [SpellProcess.o] Error 1Code: Select all
SpellProcess.cpp:277: error: âlua_spellâ was not declared in this scopeAny ideas?