EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Linux Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=588)
-   -   Compile fail Rev 1861 (https://www.eqemulator.org/forums/showthread.php?t=33058)

cubber 02-14-2011 11:30 AM

Compile fail Rev 1861
 
Trying to compile 1861 today and getting the following error on spells.o

Code:


ccache gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wno-deprecated  -Wcomment -Wcast-align -g -march=native -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DEQDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DFIELD_ITEMS -DCOMBINED -DAPP_OPCODE_SIZE=2 -Di386 -DBOTS -DEMBPERL -DEMBPERL_PLUGIN -DHAS_UNION_SEMUN -I/usr/include/mysql -DHAVE_ERRNO_AS_DEFINE=1 -DUNIV_LINUX -DUNIV_LINUX  -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I/usr/lib64/perl5/5.12.2/x86_64-linux/CORE  worldserver.cpp -o worldserver.o
In file included from masterentity.h:18,
                from worldserver.cpp:48:
bot.h:46: warning: 'typedef' was ignored in this declaration
bot.h:51: warning: 'typedef' was ignored in this declaration
bot.h:57: warning: 'typedef' was ignored in this declaration
worldserver.cpp: In member function 'virtual void WorldServer::Process()':
worldserver.cpp:1500: warning: unused variable 'ds'
worldserver.cpp: In member function 'void WorldServer::HandleLFGMatches(ServerPacket*)':
worldserver.cpp:1820: warning: format not a string literal and no format arguments
worldserver.cpp:1821: warning: format not a string literal and no format arguments
worldserver.cpp: In member function 'void WorldServer::HandleLFPMatches(ServerPacket*)':
worldserver.cpp:1874: warning: format not a string literal and no format arguments
worldserver.cpp:1882: warning: format not a string literal and no format arguments
ccache gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wno-deprecated  -Wcomment -Wcast-align -g -march=native -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DEQDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DFIELD_ITEMS -DCOMBINED -DAPP_OPCODE_SIZE=2 -Di386 -DBOTS -DEMBPERL -DEMBPERL_PLUGIN -DHAS_UNION_SEMUN -I/usr/include/mysql -DHAVE_ERRNO_AS_DEFINE=1 -DUNIV_LINUX -DUNIV_LINUX  -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I/usr/lib64/perl5/5.12.2/x86_64-linux/CORE  spells.cpp -o spells.o
In file included from masterentity.h:18,
                from spells.cpp:78:
bot.h:46: warning: 'typedef' was ignored in this declaration
bot.h:51: warning: 'typedef' was ignored in this declaration
bot.h:57: warning: 'typedef' was ignored in this declaration
spells.cpp: In member function 'void Mob::CastedSpellFinished(int16, int32, int16, int16, int32, sint16)':
spells.cpp:1090: warning: comparison between signed and unsigned integer expressions
spells.cpp:1091: warning: comparison between signed and unsigned integer expressions
spells.cpp: In member function 'virtual bool Mob::DetermineSpellTargets(uint16, Mob*&, Mob*&, CastAction_type&)':
spells.cpp:1468: error: no matching function for call to 'Raid::GetGroup()'
raids.h:126: note: candidates are: int32 Raid::GetGroup(const char*)
raids.h:127: note:                int32 Raid::GetGroup(Client*)
spells.cpp:1480: error: no matching function for call to 'Raid::GetGroup()'
raids.h:126: note: candidates are: int32 Raid::GetGroup(const char*)
raids.h:127: note:                int32 Raid::GetGroup(Client*)
spells.cpp:1492: error: no matching function for call to 'Raid::GetGroup()'
raids.h:126: note: candidates are: int32 Raid::GetGroup(const char*)
raids.h:127: note:                int32 Raid::GetGroup(Client*)
spells.cpp:1504: error: no matching function for call to 'Raid::GetGroup()'
raids.h:126: note: candidates are: int32 Raid::GetGroup(const char*)
raids.h:127: note:                int32 Raid::GetGroup(Client*)
spells.cpp: In member function 'void Mob::BardPulse(uint16, Mob*)':
spells.cpp:2115: warning: comparison between signed and unsigned integer expressions
spells.cpp: In member function 'int Mob::AddBuff(Mob*, int16, int, sint32)':
spells.cpp:2647: warning: comparison between signed and unsigned integer expressions
spells.cpp:2669: warning: comparison between signed and unsigned integer expressions
spells.cpp:2669: warning: comparison between signed and unsigned integer expressions
spells.cpp:2684: warning: comparison between signed and unsigned integer expressions
spells.cpp: In member function 'int Mob::CanBuffStack(int16, int8, bool)':
spells.cpp:2781: warning: comparison between signed and unsigned integer expressions
spells.cpp: In member function 'virtual bool Mob::SpellOnTarget(int16, Mob*, bool, bool, sint16)':
spells.cpp:3073: warning: comparison between signed and unsigned integer expressions
spells.cpp: In member function 'bool Mob::FindBuff(int16)':
spells.cpp:3459: warning: comparison between signed and unsigned integer expressions
spells.cpp: In member function 'void Mob::BuffFadeAll()':
spells.cpp:3470: warning: comparison between signed and unsigned integer expressions
spells.cpp: In member function 'void Mob::BuffFadeDetrimental()':
spells.cpp:3480: warning: comparison between signed and unsigned integer expressions
spells.cpp: In member function 'void Mob::BuffFadeDetrimentalByCaster(Mob*)':
spells.cpp:3494: warning: comparison between signed and unsigned integer expressions
spells.cpp: In member function 'void Mob::BuffFadeBySpellID(int16)':
spells.cpp:3534: warning: comparison between signed and unsigned integer expressions
spells.cpp: In member function 'void Mob::BuffFadeByEffect(int, int)':
spells.cpp:3550: warning: comparison between signed and unsigned integer expressions
spells.cpp: In member function 'void Client::MemSpell(int16, int, bool)':
spells.cpp:4254: warning: comparison between signed and unsigned integer expressions
spells.cpp: In member function 'void Client::UnmemSpell(int, bool)':
spells.cpp:4274: warning: comparison between signed and unsigned integer expressions
spells.cpp: In member function 'void Client::UnmemSpellAll(bool)':
spells.cpp:4290: warning: comparison between signed and unsigned integer expressions
spells.cpp: In member function 'void Client::ScribeSpell(int16, int, bool)':
spells.cpp:4297: warning: comparison between signed and unsigned integer expressions
spells.cpp: In member function 'void Client::UnscribeSpell(int, bool)':
spells.cpp:4317: warning: comparison between signed and unsigned integer expressions
spells.cpp: In member function 'void Client::UnscribeSpellAll(bool)':
spells.cpp:4338: warning: comparison between signed and unsigned integer expressions
spells.cpp: In member function 'void Client::UntrainDisc(int, bool)':
spells.cpp:4347: warning: comparison between signed and unsigned integer expressions
spells.cpp: In member function 'void Client::UntrainDiscAll(bool)':
spells.cpp:4363: warning: comparison between signed and unsigned integer expressions
spells.cpp: In member function 'int Client::GetNextAvailableSpellBookSlot(int)':
spells.cpp:4371: warning: comparison between signed and unsigned integer expressions
spells.cpp: In member function 'int Client::FindSpellBookSlotBySpellID(int16)':
spells.cpp:4380: warning: comparison between signed and unsigned integer expressions
spells.cpp: In member function 'sint16 Mob::GetBuffSlotFromType(int16)':
spells.cpp:4812: warning: comparison between signed and unsigned integer expressions
spells.cpp: In member function 'bool Mob::FindType(int8, bool, int16)':
spells.cpp:4833: warning: comparison between signed and unsigned integer expressions
spells.cpp: In member function 'bool Mob::UseBardSpellLogic(int16, int)':
spells.cpp:4986: warning: comparison between signed and unsigned integer expressions
spells.cpp: In member function 'void Mob::SendPetBuffsToClient()':
spells.cpp:5052: warning: comparison between signed and unsigned integer expressions
spells.cpp: In member function 'void Mob::BuffModifyDurationBySpellID(int16, sint32)':
spells.cpp:5124: warning: comparison between signed and unsigned integer expressions
make[1]: *** [spells.o] Error 1
make[1]: Leaving directory `/usr/src/eqemu/core/trunk_1861/EQEmuServer/zone'
make: *** [all] Error 2


gaeorn 02-14-2011 01:04 PM

Bah, pesky details. Fixed in 1862.

cubber 02-14-2011 01:48 PM

Thanks for the fast fix! It now compiles fine.


All times are GMT -4. The time now is 06:53 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.