Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Linux Servers

Support::Linux Servers Support forum for Linux EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 08-03-2003, 08:06 AM
Dominatus
Sarnak
 
Join Date: Oct 2002
Posts: 35
Default Latest CVS zone compile

Hey all, I have the latest CVS source and am having problems with the zone compile. The EMSharemem and world compile fine (with just a few warnings) I am using gcc 3.2.3 which I think I read some people have sucessfully compiled with. I changed the mysql include location in the makefile to match my environment and have gotten rid of all the no such file errors. And have added a blank line at the end of parser.cpp. Now I am left with just this:(a little large)

gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O -ggdb -march=i686 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -I/usr/include/mysql/ ../common/EQNetwork.cpp -o ../common/EQNetwork.o
../common/EQNetwork.cpp: In member function `bool EQNetworkServer::Open(short
unsigned int)':
../common/EQNetwork.cpp:121: warning: unused variable `int reuse_addr'
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O -ggdb -march=i686 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -I/usr/include/mysql/ ../common/timer.cpp -o ../common/timer.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O -ggdb -march=i686 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -I/usr/include/mysql/ ../common/database.cpp -o ../common/database.o
../common/database.cpp: In member function `bool
Database::CreateCharacter(unsigned int, PlayerProfile_Struct*,
Inventory_Struct*)':
../common/database.cpp:1579: warning: unused variable `char tmp[10]'
../common/database.cpp:1580: warning: unused variable `bool guildwars'
../common/database.cpp: In member function `bool
Database::GetGuildNameByID(unsigned int, char*)':
../common/database.cpp:2614: warning: unused variable `int32 affected_rows'
../common/database.cpp: In member function `bool Database:BLoadItems(int,
unsigned int)':
../common/database.cpp:3110: warning: comparison between signed and unsigned
integer expressions
../common/database.cpp: In member function `bool Database:BLoadDoors(int,
unsigned int)':
../common/database.cpp:3354: warning: comparison between signed and unsigned
integer expressions
../common/database.cpp: In member function `bool Database:BLoadNPCTypes(int,
unsigned int)':
../common/database.cpp:3546: warning: comparison between signed and unsigned
integer expressions
../common/database.cpp: In member function `bool
Database::GetFactionIdsForNPC(int, LinkedList<NPCFaction*>*, sint32*)':
../common/database.cpp:5106: warning: comparison between signed and unsigned
integer expressions
../common/database.cpp: In member function `bool
Database:BLoadNPCFactionLists(int, unsigned int)':
../common/database.cpp:5466: warning: comparison between signed and unsigned
integer expressions
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O -ggdb -march=i686 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -I/usr/include/mysql/ ../common/packet_dump.cpp -o ../common/packet_dump.o
../common/packet_dump.cpp: In function `void DumpPacketBin(const void*,
unsigned int)':
../common/packet_dump.cpp:150: warning: cast from `const void*' to `int8*'
discards qualifiers from pointer target type
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O -ggdb -march=i686 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -I/usr/include/mysql/ ../common/packet_functions.cpp -o ../common/packet_functions.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O -ggdb -march=i686 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -I/usr/include/mysql/ ../common/unix.cpp -o ../common/unix.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O -ggdb -march=i686 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -I/usr/include/mysql/ ../common/packet_dump_file.cpp -o ../common/packet_dump_file.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O -ggdb -march=i686 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -I/usr/include/mysql/ ../common/Mutex.cpp -o ../common/Mutex.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O -ggdb -march=i686 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -I/usr/include/mysql/ ../common/MiscFunctions.cpp -o ../common/MiscFunctions.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O -ggdb -march=i686 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -I/usr/include/mysql/ zone.cpp -o zone.o
zone.cpp: In function `static bool Zone::Bootup(unsigned int, bool)':
zone.cpp:100: warning: unused variable `PlayerProfile_Struct*pp'
zone.cpp:101: warning: unused variable `int char_num'
zone.cpp:102: warning: unused variable `long unsigned int*lengths'
zone.cpp:103: warning: unused variable `char errbuf[200]'
zone.cpp: In member function `void Zone::LoadZoneDoors(const char*)':
zone.cpp:219: warning: comparison is always false due to limited range of data
type
zone.cpp:1452:2: warning: no newline at end of file
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O -ggdb -march=i686 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -I/usr/include/mysql/ entity.cpp -o entity.o
entity.cpp: In member function `Client* Entity::CastToClient()':
entity.cpp:85: warning: statement with no effect
entity.cpp: In member function `void EntityList::MessageStatus(unsigned int,
unsigned int, unsigned int, const char*, ...)':
entity.cpp:1068: warning: comparison between signed and unsigned integer
expressions
entity.cpp: In member function `void EntityList::SendZoneSpawnsBulk(Client*)':
entity.cpp:1410: warning: unused variable `int32 packetsize'
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O -ggdb -march=i686 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -I/usr/include/mysql/ mob.cpp -o mob.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O -ggdb -march=i686 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -I/usr/include/mysql/ client.cpp -o client.o
client.cpp: In member function `sint32 Client::GenericFocus(short unsigned int,
short unsigned int)':
client.cpp:485: warning: comparison between signed and unsigned integer
expressions
client.cpp: In member function `bool Client::QuestTroupe(const Seperator*)':
client.cpp:1877: warning: deprecated conversion from string constant to `char*'
client.cpp:2172: warning: deprecated conversion from string constant to `char*'
client.cpp: In member function `bool Client::NormalGM(const Seperator*)':
client.cpp:3801: warning: comparison between signed and unsigned integer
expressions
client.cpp: In member function `bool Client::NormalUser(const Seperator*)':
client.cpp:4259: warning: deprecated conversion from string constant to `char*'
client.cpp: In member function `bool Client::HasItemInInventory(short unsigned
int)':
client.cpp:5655: warning: unused variable `int16 i'
client.cpp: In member function `uint32 Client::HasItemInInventory(short
unsigned int, short unsigned int)':
client.cpp:5673: warning: initialization of negative value `-1' to `uint32'
client.cpp:5673: warning: argument of negative value `-1' to `unsigned int'
client.cpp:5672: warning: unused variable `int16 slotid'
client.cpp: In member function `void Client::SummonItem(short unsigned int,
unsigned char)':
client.cpp:5783: warning: assignment of negative value `-1' to `uint32'
client.cpp:5783: warning: argument of negative value `-1' to `unsigned int'
client.cpp: In member function `uint32 Client::GetItemAt(short unsigned int)':
client.cpp:5945: warning: return of negative value `-1' to `uint32'
client.cpp:5945: warning: argument of negative value `-1' to `unsigned int'
client.cpp: In member function `bool Client:eleteItemInInventory(unsigned
int, short unsigned int, bool)':
client.cpp:6069: warning: `int8 pcharges' might be used uninitialized in this
function
client.cpp: In member function `void Client::SendItemLink(const Item_Struct*,
bool)':
client.cpp:6367: warning: cast from `const char*' to `char*' discards
qualifiers from pointer target type
client.cpp:6372: warning: `0' flag used with `%c' printf format
client.cpp:6378: warning: cast from `const char*' to `char*' discards
qualifiers from pointer target type
client.cpp: In member function `bool Client:ecreaseCharges(short unsigned
int)':
client.cpp:6405: warning: unused variable `int8 newcharges'
client.cpp:6406: warning: unused variable `int16 itemid'
client.cpp: In member function `void Client::Commandlog(const Seperator*)':
client.cpp:7193: warning: assignment to non-pointer type `char' from NULL
client.cpp:7193: warning: argument to non-pointer type `char' from NULL
client.cpp:7199: warning: deprecated conversion from string constant to `char*'
client.cpp:7201: warning: deprecated conversion from string constant to `char*'
client.cpp: In member function `void Client::LogMerchant(Client*, Mob*,
Merchant_Purchase_Struct*, const Item_Struct*, bool)':
client.cpp:7227: warning: deprecated conversion from string constant to `char*'
client.cpp:7248: warning: deprecated conversion from string constant to `char*'
client.cpp: In member function `void Client::LogLoot(Client*, Corpse*, const
Item_Struct*)':
client.cpp:7267: warning: deprecated conversion from string constant to `char*'
client.cpp:7276: warning: deprecated conversion from string constant to `char*'
client.cpp:7278: warning: deprecated conversion from string constant to `char*'
client.cpp: In member function `bool Client::BindWound(Mob*, bool, bool)':
client.cpp:7365: warning: assignment to `int' from `double'
client.cpp:7365: warning: argument to `int' from `double'
client.cpp: In member function `bool Client::MoveItem(MoveItem_Struct*)':
client.cpp:7464: warning: comparison between signed and unsigned integer
expressions
client.cpp:7470: warning: comparison between signed and unsigned integer
expressions
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O -ggdb -march=i686 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -I/usr/include/mysql/ client_process.cpp -o client_process.o
client_process.cpp: In member function `int Client::HandlePacket(const
APPLAYER*)':
client_process.cpp:759: warning: comparison is always true due to limited range
of data type
client_process.cpp:954: warning: comparison between signed and unsigned integer
expressions
client_process.cpp:2700: warning: assignment to non-pointer type `char' from
NULL
client_process.cpp:2700: warning: argument to non-pointer type `char' from NULL
client_process.cpp:2724: warning: assignment to non-pointer type `char' from
NULL
client_process.cpp:2724: warning: argument to non-pointer type `char' from NULL
client_process.cpp:2725: warning: assignment to non-pointer type `char' from
NULL
client_process.cpp:2725: warning: argument to non-pointer type `char' from NULL
client_process.cpp:2805: warning: deprecated conversion from string constant to
`char*'
client_process.cpp:2828: warning: deprecated conversion from string constant to
`char*'
client_process.cpp:2831: warning: assignment to non-pointer type `char' from
NULL
client_process.cpp:2831: warning: argument to non-pointer type `char' from NULL
client_process.cpp:2832: warning: assignment to non-pointer type `char' from
NULL
client_process.cpp:2832: warning: argument to non-pointer type `char' from NULL
client_process.cpp:3151: warning: cast from `const char*' to `char*' discards
qualifiers from pointer target type
client_process.cpp:3805: warning: unused variable `int16 slot'
client_process.cpp:3836: warning: unused variable `const Item_Struct*item'
client_process.cpp:3881: warning: unused variable `const Item_Struct*item'
client_process.cpp:3831: warning: unused variable `Item_Struct*item2'
client_process.cpp:4922: warning: comparison between signed and unsigned
integer expressions
client_process.cpp: In member function `bool
Client::FinishConnState2(DBAsyncWork*)':
client_process.cpp:5288: warning: comparison between signed and unsigned
integer expressions
client_process.cpp:5162: warning: `bool loaditems' might be used uninitialized
in this function
client_process.cpp: In member function `void Client::CompleteConnect()':
client_process.cpp:5557: warning: assignment to non-pointer type `char' from
NULL
client_process.cpp:5557: warning: argument to non-pointer type `char' from NULL
client_process.cpp: In member function `void
Client::BulkSendMerchantInventory(int, short unsigned int)':
client_process.cpp:6243: warning: comparison between signed and unsigned
integer expressions
client_process.cpp:6243: warning: comparison between signed and unsigned
integer expressions
client_process.cpp: In member function `void Client::OPMemorizeSpell(const
APPLAYER*)':
client_process.cpp:6403: warning: comparison between signed and unsigned
integer expressions
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O -ggdb -march=i686 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -I/usr/include/mysql/ npc.cpp -o npc.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O -ggdb -march=i686 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -I/usr/include/mysql/ net.cpp -o net.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O -ggdb -march=i686 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -I/usr/include/mysql/ spawn2.cpp -o spawn2.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O -ggdb -march=i686 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -I/usr/include/mysql/ attack.cpp -o attack.o
attack.cpp: In member function `virtual bool NPC::Attack(Mob*, int, bool)':
attack.cpp:1125: warning: unused variable `float basedefend'
attack.cpp:1126: warning: unused variable `float currenthit'
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O -ggdb -march=i686 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -I/usr/include/mysql/ hate_list.cpp -o hate_list.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O -ggdb -march=i686 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -I/usr/include/mysql/ ../common/serverinfo.cpp -o ../common/serverinfo.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O -ggdb -march=i686 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -I/usr/include/mysql/ ../common/moremath.cpp -o ../common/moremath.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O -ggdb -march=i686 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -I/usr/include/mysql/ worldserver.cpp -o worldserver.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O -ggdb -march=i686 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -I/usr/include/mysql/ spells.cpp -o spells.o
spells.cpp: In member function `sint8 Mob::CanBuffStack(short unsigned int,
unsigned char, bool)':
spells.cpp:187: warning: unused variable `int k'
spells.cpp: In member function `virtual void Mob::CastSpell(short unsigned int,
short unsigned int, short unsigned int, int, int, int32*)':
spells.cpp:479: warning: comparison between signed and unsigned integer
expressions
spells.cpp:495: warning: comparison between signed and unsigned integer
expressions
spells.cpp: In member function `void Mob::CastedSpellFinished(short unsigned
int, unsigned int, short unsigned int, short unsigned int)':
spells.cpp:719: warning: comparison between signed and unsigned integer
expressions
spells.cpp: In member function `bool Mob::SpellEffect(Mob*, short unsigned int,
unsigned char, signed char, short unsigned int, short unsigned int)':
spells.cpp:1935: warning: assignment to `sint32' from `float'
spells.cpp:1935: warning: argument to `int' from `float'
spells.cpp:2127: warning: passing negative value `-1' for default argument 1 of
`void Client::SetBindPoint(unsigned int, float, float, float)'
spells.cpp:2127: warning: argument of negative value `-1' to `unsigned int'
spells.cpp: In member function `void Client::SetBindPoint(unsigned int, float,
float, float)':
spells.cpp:3398: warning: comparison between signed and unsigned integer
expressions
spells.cpp: In member function `void Mob::MakePet(const char*)':
spells.cpp:3893: warning: unused variable `int queryfound'
spells.cpp:3907: warning: unused variable `int queryfound'
spells.cpp:3922: warning: unused variable `int queryfound'
spells.cpp:3936: warning: unused variable `int queryfound'
spells.cpp:3950: warning: unused variable `int queryfound'
spells.cpp:3964: warning: unused variable `int queryfound'
spells.cpp:3978: warning: unused variable `int queryfound'
spells.cpp:3992: warning: unused variable `int queryfound'
spells.cpp:4006: warning: unused variable `int queryfound'
spells.cpp:4020: warning: unused variable `int queryfound'
spells.cpp:4034: warning: unused variable `int queryfound'
spells.cpp:4048: warning: unused variable `int queryfound'
spells.cpp:4062: warning: unused variable `int queryfound'
spells.cpp:4076: warning: unused variable `int queryfound'
spells.cpp:4090: warning: unused variable `int queryfound'
spells.cpp:4104: warning: unused variable `int queryfound'
spells.cpp:4118: warning: unused variable `int queryfound'
spells.cpp:4132: warning: unused variable `int queryfound'
spells.cpp:4152: warning: unused variable `int queryfound'
spells.cpp:4177: warning: unused variable `int queryfound'
spells.cpp:4190: warning: unused variable `int queryfound'
spells.cpp: In member function `void Mob::MakePet(unsigned char, unsigned char,
short unsigned int, unsigned char, unsigned char, float, unsigned char)':
spells.cpp:4848: warning: unused variable `int queryfound'
spells.cpp:4870: warning: unused variable `int queryfound'
spells.cpp:4895: warning: unused variable `int queryfound'
spells.cpp:4921: warning: unused variable `int queryfound'
spells.cpp:4948: warning: unused variable `int queryfound'
spells.cpp:4967: warning: unused variable `int queryfound'
spells.cpp:4995: warning: unused variable `int queryfound'
spells.cpp:5018: warning: unused variable `int queryfound'
spells.cpp:5042: warning: unused variable `int queryfound'
spells.cpp:5066: warning: unused variable `int queryfound'
spells.cpp:5089: warning: unused variable `int queryfound'
spells.cpp:5112: warning: unused variable `int queryfound'
spells.cpp:5135: warning: unused variable `int queryfound'
spells.cpp:5158: warning: unused variable `int queryfound'
spells.cpp:5181: warning: unused variable `int queryfound'
spells.cpp:5204: warning: unused variable `int queryfound'
spells.cpp:5226: warning: unused variable `int queryfound'
spells.cpp:5250: warning: unused variable `int queryfound'
spells.cpp:5388: warning: unused variable `int queryfound'
spells.cpp:5418: warning: unused variable `int queryfound'
spells.cpp:5440: warning: unused variable `int queryfound'
spells.cpp:4278: warning: unused variable `int yourlevel'
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O -ggdb -march=i686 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -I/usr/include/mysql/ spawngroup.cpp -o spawngroup.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O -ggdb -march=i686 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -I/usr/include/mysql/ loottables.cpp -o loottables.o
loottables.cpp: In member function `void Database::AddLootDropToNPC(NPC*,
unsigned int, ItemList*)':
loottables.cpp:545: warning: comparison between signed and unsigned integer
expressions
loottables.cpp:558: warning: unused variable `char tmp[20]'
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O -ggdb -march=i686 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -I/usr/include/mysql/ faction.cpp -o faction.o
faction.cpp: In member function `sint32 Client::GetCharacterFactionLevel(int)':
faction.cpp:307: warning: comparison between signed and unsigned integer
expressions
faction.cpp: In member function `bool Database::GetFactionData(FactionMods*,
int, int, int, int)':
faction.cpp:318: warning: comparison between signed and unsigned integer
expressions
faction.cpp:352: warning: comparison between signed and unsigned integer
expressions
faction.cpp:359: warning: comparison between signed and unsigned integer
expressions
faction.cpp:366: warning: comparison between signed and unsigned integer
expressions
faction.cpp: In member function `bool
Database::SetCharacterFactionLevel(unsigned int, int, int,
LinkedList<FactionValue*>*)':
faction.cpp:553: warning: comparison between signed and unsigned integer
expressions
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O -ggdb -march=i686 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -I/usr/include/mysql/ Map.cpp -o Map.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O -ggdb -march=i686 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -I/usr/include/mysql/ PlayerCorpse.cpp -o PlayerCorpse.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O -ggdb -march=i686 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -I/usr/include/mysql/ petitions.cpp -o petitions.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O -ggdb -march=i686 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -I/usr/include/mysql/ MobAI.cpp -o MobAI.o
MobAI.cpp: In member function `void Mob::UpdateWaypoint(int)':
MobAI.cpp:1016: warning: comparison between signed and unsigned integer
expressions
MobAI.cpp:1017: warning: assignment to `int' from `float'
MobAI.cpp:1017: warning: argument to `int' from `float'
MobAI.cpp:1018: warning: assignment to `int' from `float'
MobAI.cpp:1018: warning: argument to `int' from `float'
MobAI.cpp:1019: warning: assignment to `int' from `float'
MobAI.cpp:1019: warning: argument to `int' from `float'
MobAI.cpp: In member function `bool Mob::AI_AddNPCSpells(unsigned int)':
MobAI.cpp:1590: warning: comparison between signed and unsigned integer
expressions
MobAI.cpp:1597: warning: comparison between signed and unsigned integer
expressions
MobAI.cpp: In function `bool IsSpellInList(DBnpcspells_Struct*, short int)':
MobAI.cpp:1626: warning: comparison between signed and unsigned integer
expressions
MobAI.cpp: In member function `DBnpcspells_Struct*
Database::GetNPCSpells(unsigned int)':
MobAI.cpp:1688: warning: comparison between signed and unsigned integer
expressions
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O -ggdb -march=i686 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -I/usr/include/mysql/ Object.cpp -o Object.o
Object.cpp: In member function `void Object::CreateSpawnPacket(APPLAYER*)':
Object.cpp:55: warning: unused variable `const Item_Struct*spawnitem'
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O -ggdb -march=i686 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -I/usr/include/mysql/ ../common/eqtime.cpp -o ../common/eqtime.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O -ggdb -march=i686 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -I/usr/include/mysql/ groups.cpp -o groups.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O -ggdb -march=i686 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -I/usr/include/mysql/ ../common/classes.cpp -o ../common/classes.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O -ggdb -march=i686 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -I/usr/include/mysql/ ../common/races.cpp -o ../common/races.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O -ggdb -march=i686 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -I/usr/include/mysql/ ../common/TCPConnection.cpp -o ../common/TCPConnection.o
../common/TCPConnection.cpp: In member function `void
TCPConnection::LineOutQueuePush(char*)':
../common/TCPConnection.cpp:453: warning: cast from `const char*' to `uchar*'
discards qualifiers from pointer target type
../common/TCPConnection.cpp: In member function `bool
TCPConnection::ProcessReceivedDataAsOldPackets(cha r*)':
../common/TCPConnection.cpp:1145: warning: comparison between signed and
unsigned integer expressions
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O -ggdb -march=i686 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -I/usr/include/mysql/ forage.cpp -o forage.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O -ggdb -march=i686 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -I/usr/include/mysql/ ../common/crc32.cpp -o ../common/crc32.o
../common/crc32.cpp:105:2: warning: #warning "Comment out i386 define if your arch isn't x86"
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O -ggdb -march=i686 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -I/usr/include/mysql/ ../common/guilds.cpp -o ../common/guilds.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O -ggdb -march=i686 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -I/usr/include/mysql/ ../common/md5.cpp -o ../common/md5.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O -ggdb -march=i686 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -I/usr/include/mysql/ ../common/dbcore.cpp -o ../common/dbcore.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O -ggdb -march=i686 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -I/usr/include/mysql/ ../common/dbasync.cpp -o ../common/dbasync.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O -ggdb -march=i686 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -I/usr/include/mysql/ zonedbasync.cpp -o zonedbasync.o
zonedbasync.cpp: In function `bool DBAsyncCB_CharacterBackup(DBAsyncWork*)':
zonedbasync.cpp:70: warning: comparison between signed and unsigned integer
expressions
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O -ggdb -march=i686 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -I/usr/include/mysql/ parser.cpp -o parser.o
parser.cpp: In function `int calc(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >)':
parser.cpp:102: warning: cannot pass objects of non-POD type `struct
std::string' through `...'; call will abort at runtime
parser.cpp:102: warning: format argument is not a pointer (arg 2)
parser.cpp:120: warning: cannot pass objects of non-POD type `struct
std::string' through `...'; call will abort at runtime
parser.cpp:120: warning: format argument is not a pointer (arg 2)
parser.cpp: In function `char* itoa(int)':
parser.cpp:155: new declaration `char* itoa(int)'
../common/MiscFunctions.h:59: ambiguates old declaration `const char* itoa(int)
'
parser.cpp: In function `char* itoa(int)':
parser.cpp:155: invalid conversion from `const char*' to `char*'
parser.cpp: In function `std::string strlwr(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >)':
parser.cpp:156: warning: cast from `const char*' to `char*' discards qualifiers
from pointer target type
parser.cpp: In member function `void Parser::MakeParms(const char*, unsigned
int)':
parser.cpp:256: warning: cast from `const char*' to `char*' discards qualifiers
from pointer target type
parser.cpp:259: warning: cast from `const char*' to `char*' discards qualifiers
from pointer target type
parser.cpp: In member function `void Parser::SendCommands(const char*, unsigned
int, Mob*, Mob*)':
parser.cpp:434: warning: comparison between signed and unsigned integer
expressions
parser.cpp: In member function `void Parser::ExCommands(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >, std::basic_string<char,
std::char_traits<char>, std::allocator<char> >, int, unsigned int, Mob*,
Mob*)':
parser.cpp:589: warning: unused variable `int8 guildwarset'
parser.cpp:757: warning: cast to pointer from integer of different size
parser.cpp:765: warning: cast to pointer from integer of different size
parser.cpp:791: warning: NULL used in arithmetic
parser.cpp: In member function `void Parser::Replace(std::string&,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >,
int)':
parser.cpp:980: warning: comparison between signed and unsigned integer
expressions
parser.cpp: In member function `void Parser:elChatAndItemVars(unsigned int)':
parser.cpp:1028: warning: unused variable `MyListItem<vars>*Ptr'
parser.cpp: In member function `void Parser::HandleVars(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >, std::basic_string<char,
std::char_traits<char>, std::allocator<char> >, std::string&,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >,
unsigned int, Mob*)':
parser.cpp:1094: warning: cast from `const char*' to `char*' discards
qualifiers from pointer target type
parser.cpp:1112: warning: cast from `const char*' to `char*' discards
qualifiers from pointer target type
parser.cpp:1128: warning: cast from `const char*' to `char*' discards
qualifiers from pointer target type
parser.cpp:1134: warning: cast from `const char*' to `char*' discards
qualifiers from pointer target type
parser.cpp:1141: warning: cast from `const char*' to `char*' discards
qualifiers from pointer target type
parser.cpp:1142: warning: cast from `const char*' to `char*' discards
qualifiers from pointer target type
parser.cpp:1144: warning: cast from `const char*' to `char*' discards
qualifiers from pointer target type
parser.cpp:1147: warning: cast from `const char*' to `char*' discards
qualifiers from pointer target type
parser.cpp:1150: warning: comparison between signed and unsigned integer
expressions
parser.cpp:1159: warning: cast from `const char*' to `char*' discards
qualifiers from pointer target type
parser.cpp:1178: warning: comparison between signed and unsigned integer
expressions
parser.cpp:1199: warning: cast from `const char*' to `char*' discards
qualifiers from pointer target type
parser.cpp:1210: warning: cast from `const char*' to `char*' discards
qualifiers from pointer target type
parser.cpp:1213: warning: cast from `const char*' to `char*' discards
qualifiers from pointer target type
parser.cpp:1220: warning: cast from `const char*' to `char*' discards
qualifiers from pointer target type
parser.cpp:1223: warning: cast from `const char*' to `char*' discards
qualifiers from pointer target type
parser.cpp:1226: warning: cast from `const char*' to `char*' discards
qualifiers from pointer target type
parser.cpp: In member function `void Parser::ParseVars(std::string&, unsigned
int, Mob*)':
parser.cpp:1239: warning: comparison between signed and unsigned integer
expressions
parser.cpp:1239: warning: comparison between signed and unsigned integer
expressions
parser.cpp:1244: warning: comparison between signed and unsigned integer
expressions
parser.cpp:1264: warning: comparison between signed and unsigned integer
expressions
parser.cpp: In function `char* fixstring(char*)':
parser.cpp:1320: warning: comparison between signed and unsigned integer
expressions
parser.cpp: In function `int DoCompare(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >, std::basic_string<char,
std::char_traits<char>, std::allocator<char> >, std::basic_string<char,
std::char_traits<char>, std::allocator<char> >)':
parser.cpp:1336: warning: cast from `const char*' to `char*' discards
qualifiers from pointer target type
parser.cpp:1336: warning: cast from `const char*' to `char*' discards
qualifiers from pointer target type
parser.cpp:1340: warning: cast from `const char*' to `char*' discards
qualifiers from pointer target type
parser.cpp:1340: warning: cast from `const char*' to `char*' discards
qualifiers from pointer target type
parser.cpp:1344: warning: cast from `const char*' to `char*' discards
qualifiers from pointer target type
parser.cpp:1344: warning: cast from `const char*' to `char*' discards
qualifiers from pointer target type
parser.cpp:1348: warning: cast from `const char*' to `char*' discards
qualifiers from pointer target type
parser.cpp:1348: warning: cast from `const char*' to `char*' discards
qualifiers from pointer target type
parser.cpp: In member function `int
Parser::ParseCommands(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, int, int, unsigned int, Mob*, Mob*)':
parser.cpp:1479: warning: cast from `const char*' to `char*' discards
qualifiers from pointer target type
parser.cpp:1494: warning: cast from `const char*' to `char*' discards
qualifiers from pointer target type
parser.cpp:1532: warning: cast from `const char*' to `char*' discards
qualifiers from pointer target type
parser.cpp:1532: warning: cast from `const char*' to `char*' discards
qualifiers from pointer target type
make: *** [parser.o] Error 1

No errors till the end .. only warnings. Any clues?

thanks!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 03:02 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3