Linux version 3.0.0-16-server (buildd@roseapple) (gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3)
Changed makefile option of -march from i686 to core2 and also tried native
Code: Select all
eq2server@gameserver:~/eq2server/SVN/Source/World$ make
g++ -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wcomment -Wcast-align -Wno-deprecated -g -march=native -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DEQ2 -DWORLD -I/usr/include/mysql -I/usr/mysql/include -I./LUA/include ../common/timer.cpp -o ../common/timer.o
g++ -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wcomment -Wcast-align -Wno-deprecated -g -march=native -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DEQ2 -DWORLD -I/usr/include/mysql -I/usr/mysql/include -I./LUA/include ../common/packet_dump.cpp -o ../common/packet_dump.o
g++ -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wcomment -Wcast-align -Wno-deprecated -g -march=native -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DEQ2 -DWORLD -I/usr/include/mysql -I/usr/mysql/include -I./LUA/include races.cpp -o races.o
g++ -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wcomment -Wcast-align -Wno-deprecated -g -march=native -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DEQ2 -DWORLD -I/usr/include/mysql -I/usr/mysql/include -I./LUA/include ../common/unix.cpp -o ../common/unix.o
g++ -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wcomment -Wcast-align -Wno-deprecated -g -march=native -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DEQ2 -DWORLD -I/usr/include/mysql -I/usr/mysql/include -I./LUA/include ../common/Mutex.cpp -o ../common/Mutex.o
g++ -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wcomment -Wcast-align -Wno-deprecated -g -march=native -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DEQ2 -DWORLD -I/usr/include/mysql -I/usr/mysql/include -I./LUA/include ../common/MiscFunctions.cpp -o ../common/MiscFunctions.o
g++ -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wcomment -Wcast-align -Wno-deprecated -g -march=native -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DEQ2 -DWORLD -I/usr/include/mysql -I/usr/mysql/include -I./LUA/include ../common/emu_opcodes.cpp -o ../common/emu_opcodes.o
g++ -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wcomment -Wcast-align -Wno-deprecated -g -march=native -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DEQ2 -DWORLD -I/usr/include/mysql -I/usr/mysql/include -I./LUA/include Commands.cpp -o Commands.o
Commands.cpp: In member function âvoid Commands::Process(int32, EQ2_16BitString*, Client*)â:
Commands.cpp:2239:10: warning: unused variable âposâ [-Wunused-variable]
Commands.cpp:2241:15: warning: unused variable âsep2â [-Wunused-variable]
Commands.cpp:2242:9: warning: unused variable âvalâ [-Wunused-variable]
Commands.cpp:4022:176: warning: format â%uâ expects argument of type âunsigned intâ, but argument 4 has type âlong unsigned intâ [-Wformat]
Commands.cpp:4024:219: warning: format â%uâ expects argument of type âunsigned intâ, but argument 4 has type âlong unsigned intâ [-Wformat]
Commands.cpp:4024:219: warning: format â%uâ expects argument of type âunsigned intâ, but argument 5 has type âlong unsigned intâ [-Wformat]
Commands.cpp:764:27: warning: variable âparent_commandâ set but not used [-Wunused-but-set-variable]
g++ -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wcomment -Wcast-align -Wno-deprecated -g -march=native -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DEQ2 -DWORLD -I/usr/include/mysql -I/usr/mysql/include -I./LUA/include Items.cpp -o Items.o
Items.cpp: In member function âstd::vector<Item*>* MasterItemList::GetItems(std::string, int32, int32, int32, int64, int64, int8, int8, std::string, std::string, int8, int8, int16, int16, sint8)â:
Items.cpp:44:14: warning: variable âchksellerâ set but not used [-Wunused-but-set-variable]
Items.cpp:45:14: warning: variable âchkadornmentâ set but not used [-Wunused-but-set-variable]
Items.cpp: In member function âvoid Item::AddStat(int8, int16, float, char*)â:
Items.cpp:1195:65: warning: too many arguments for format [-Wformat-extra-args]
Items.cpp:1195:65: warning: too many arguments for format [-Wformat-extra-args]
g++ -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wcomment -Wcast-align -Wno-deprecated -g -march=native -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DEQ2 -DWORLD -I/usr/include/mysql -I/usr/mysql/include -I./LUA/include classes.cpp -o classes.o
g++ -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wcomment -Wcast-align -Wno-deprecated -g -march=native -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DEQ2 -DWORLD -I/usr/include/mysql -I/usr/mysql/include -I./LUA/include ../common/TCPConnection.cpp -o ../common/TCPConnection.o
../common/TCPConnection.cpp: In member function âvoid TCPServer::ListenNewConnections()â:
../common/TCPConnection.cpp:1467:17: warning: variable âportâ set but not used [-Wunused-but-set-variable]
g++ -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wcomment -Wcast-align -Wno-deprecated -g -march=native -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DEQ2 -DWORLD -I/usr/include/mysql -I/usr/mysql/include -I./LUA/include Combat.cpp -o Combat.o
g++ -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wcomment -Wcast-align -Wno-deprecated -g -march=native -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DEQ2 -DWORLD -I/usr/include/mysql -I/usr/mysql/include -I./LUA/include client.cpp -o client.o
g++ -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wcomment -Wcast-align -Wno-deprecated -g -march=native -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DEQ2 -DWORLD -I/usr/include/mysql -I/usr/mysql/include -I./LUA/include net.cpp -o net.o
net.cpp: In member function âbool NetConnection::ReadLoginINI()â:
net.cpp:315:28: warning: ignoring return value of âchar* fgets(char*, int, FILE*)â, declared with attribute warn_unused_result [-Wunused-result]
net.cpp:431:28: warning: ignoring return value of âchar* fgets(char*, int, FILE*)â, declared with attribute warn_unused_result [-Wunused-result]
net.cpp:462:28: warning: ignoring return value of âchar* fgets(char*, int, FILE*)â, declared with attribute warn_unused_result [-Wunused-result]
g++ -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wcomment -Wcast-align -Wno-deprecated -g -march=native -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DEQ2 -DWORLD -I/usr/include/mysql -I/usr/mysql/include -I./LUA/include LoginServer.cpp -o LoginServer.o
LoginServer.cpp: In member function âbool LoginServer::ConnectToUpdateServer(const char*, int16)â:
LoginServer.cpp:528:120: warning: the address of âerrbufâ will always evaluate as âtrueâ [-Waddress]
LoginServer.cpp:618:97: warning: the address of âerrbufâ will always evaluate as âtrueâ [-Waddress]
g++ -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wcomment -Wcast-align -Wno-deprecated -g -march=native -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DEQ2 -DWORLD -I/usr/include/mysql -I/usr/mysql/include -I./LUA/include ../common/md5.cpp -o ../common/md5.o
g++ -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wcomment -Wcast-align -Wno-deprecated -g -march=native -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DEQ2 -DWORLD -I/usr/include/mysql -I/usr/mysql/include -I./LUA/include ../common/dbcore.cpp -o ../common/dbcore.o
../common/dbcore.cpp: In member function âbool DBcore::ReadDBINI(char*, char*, char*, char*, int32&, bool&, bool*)â:
../common/dbcore.cpp:88:28: warning: ignoring return value of âchar* fgets(char*, int, FILE*)â, declared with attribute warn_unused_result [-Wunused-result]
g++ -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wcomment -Wcast-align -Wno-deprecated -g -march=native -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DEQ2 -DWORLD -I/usr/include/mysql -I/usr/mysql/include -I./LUA/include Skills.cpp -o Skills.o
g++ -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wcomment -Wcast-align -Wno-deprecated -g -march=native -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DEQ2 -DWORLD -I/usr/include/mysql -I/usr/mysql/include -I./LUA/include GroundSpawn.cpp -o GroundSpawn.o
g++ -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wcomment -Wcast-align -Wno-deprecated -g -march=native -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DEQ2 -DWORLD -I/usr/include/mysql -I/usr/mysql/include -I./LUA/include ../common/EQEMuError.cpp -o ../common/EQEMuError.o
g++ -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wcomment -Wcast-align -Wno-deprecated -g -march=native -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DEQ2 -DWORLD -I/usr/include/mysql -I/usr/mysql/include -I./LUA/include ../common/misc.cpp -o ../common/misc.o
g++ -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wcomment -Wcast-align -Wno-deprecated -g -march=native -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DEQ2 -DWORLD -I/usr/include/mysql -I/usr/mysql/include -I./LUA/include ../common/Crypto.cpp -o ../common/Crypto.o
g++ -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wcomment -Wcast-align -Wno-deprecated -g -march=native -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DEQ2 -DWORLD -I/usr/include/mysql -I/usr/mysql/include -I./LUA/include ../common/RC4.cpp -o ../common/RC4.o
mkdir -p .obj
g++ -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wcomment -Wcast-align -Wno-deprecated -g -march=native -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DEQ2 -DWORLD -I/usr/include/mysql -I/usr/mysql/include -I./LUA/include -c ../common/debug.cpp -o .obj/debug.o
../common/debug.cpp: In member function âbool EQEMuLog::write(EQEMuLog::LogIDs, const char*, ...)â:
../common/debug.cpp:143:25: warning: format not a string literal and no format arguments [-Wformat-security]
../common/debug.cpp:152:26: warning: format not a string literal and no format arguments [-Wformat-security]
../common/debug.cpp:156:26: warning: format not a string literal and no format arguments [-Wformat-security]
../common/debug.cpp: In member function âbool EQEMuLog::writeNTS(EQEMuLog::LogIDs, bool, const char*, ...)â:
../common/debug.cpp:232:25: warning: format not a string literal and no format arguments [-Wformat-security]
../common/debug.cpp:235:26: warning: format not a string literal and no format arguments [-Wformat-security]
../common/debug.cpp:237:26: warning: format not a string literal and no format arguments [-Wformat-security]
mkdir -p .obj
g++ -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wcomment -Wcast-align -Wno-deprecated -g -march=native -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DEQ2 -DWORLD -I/usr/include/mysql -I/usr/mysql/include -I./LUA/include -c ../common/database.cpp -o .obj/database.o
mkdir -p .obj
g++ -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wcomment -Wcast-align -Wno-deprecated -g -march=native -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DEQ2 -DWORLD -I/usr/include/mysql -I/usr/mysql/include -I./LUA/include -c ../common/EQStream.cpp -o .obj/EQStream.o
g++ -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wcomment -Wcast-align -Wno-deprecated -g -march=native -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DEQ2 -DWORLD -I/usr/include/mysql -I/usr/mysql/include -I./LUA/include ../common/xmlParser.cpp -o ../common/xmlParser.o
../common/xmlParser.cpp: In static member function âstatic XMLNode XMLNode::parseFile(const char*, const char*, XMLResults*)â:
../common/xmlParser.cpp:1313:21: warning: ignoring return value of âsize_t fread(void*, size_t, size_t, FILE*)â, declared with attribute warn_unused_result [-Wunused-result]
g++ -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wcomment -Wcast-align -Wno-deprecated -g -march=native -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DEQ2 -DWORLD -I/usr/include/mysql -I/usr/mysql/include -I./LUA/include WorldDatabase.cpp -o WorldDatabase.o
WorldDatabase.cpp: In member function âvoid WorldDatabase::LoadMerchantInventory()â:
WorldDatabase.cpp:4273:8: warning: variable âidâ set but not used [-Wunused-but-set-variable]
g++ -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wcomment -Wcast-align -Wno-deprecated -g -march=native -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DEQ2 -DWORLD -I/usr/include/mysql -I/usr/mysql/include -I./LUA/include NPC.cpp -o NPC.o
g++ -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wcomment -Wcast-align -Wno-deprecated -g -march=native -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DEQ2 -DWORLD -I/usr/include/mysql -I/usr/mysql/include -I./LUA/include Player.cpp -o Player.o
mkdir -p .obj
g++ -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wcomment -Wcast-align -Wno-deprecated -g -march=native -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DEQ2 -DWORLD -I/usr/include/mysql -I/usr/mysql/include -I./LUA/include -c ../common/EQStreamFactory.cpp -o .obj/EQStreamFactory.o
../common/EQStreamFactory.cpp: In member function âvoid EQStreamFactory::ReaderLoop()â:
../common/EQStreamFactory.cpp:210:75: warning: format â%luâ expects argument of type âlong unsigned intâ, but argument 3 has type âunsigned intâ [-Wformat]
../common/EQStreamFactory.cpp: In member function âvoid EQStreamFactory::WriterLoop()â:
../common/EQStreamFactory.cpp:331:6: warning: variable âhaveworkâ set but not used [-Wunused-but-set-variable]
mkdir -p .obj
g++ -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wcomment -Wcast-align -Wno-deprecated -g -march=native -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DEQ2 -DWORLD -I/usr/include/mysql -I/usr/mysql/include -I./LUA/include -c ../common/EQPacket.cpp -o .obj/EQPacket.o
g++ -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wcomment -Wcast-align -Wno-deprecated -g -march=native -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DEQ2 -DWORLD -I/usr/include/mysql -I/usr/mysql/include -I./LUA/include ../common/CRC16.cpp -o ../common/CRC16.o
g++ -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wcomment -Wcast-align -Wno-deprecated -g -march=native -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DEQ2 -DWORLD -I/usr/include/mysql -I/usr/mysql/include -I./LUA/include ../common/packet_functions.cpp -o ../common/packet_functions.o
g++ -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wcomment -Wcast-align -Wno-deprecated -g -march=native -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DEQ2 -DWORLD -I/usr/include/mysql -I/usr/mysql/include -I./LUA/include ../common/Condition.cpp -o ../common/Condition.o
g++ -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wcomment -Wcast-align -Wno-deprecated -g -march=native -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DEQ2 -DWORLD -I/usr/include/mysql -I/usr/mysql/include -I./LUA/include ../common/opcodemgr.cpp -o ../common/opcodemgr.o
g++ -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wcomment -Wcast-align -Wno-deprecated -g -march=native -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DEQ2 -DWORLD -I/usr/include/mysql -I/usr/mysql/include -I./LUA/include zoneserver.cpp -o zoneserver.o
zoneserver.cpp: In member function âvoid ZoneServer::SendDamagePacket(Spawn*, Spawn*, int8, int8, int8, int16, const char*)â:
zoneserver.cpp:2945:8: warning: variable âattacker_idâ set but not used [-Wunused-but-set-variable]
g++ -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wcomment -Wcast-align -Wno-deprecated -g -march=native -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DEQ2 -DWORLD -I/usr/include/mysql -I/usr/mysql/include -I./LUA/include Spawn.cpp -o Spawn.o
g++ -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wcomment -Wcast-align -Wno-deprecated -g -march=native -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DEQ2 -DWORLD -I/usr/include/mysql -I/usr/mysql/include -I./LUA/include Object.cpp -o Object.o
g++ -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wcomment -Wcast-align -Wno-deprecated -g -march=native -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DEQ2 -DWORLD -I/usr/include/mysql -I/usr/mysql/include -I./LUA/include ../common/ConfigReader.cpp -o ../common/ConfigReader.o
g++ -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wcomment -Wcast-align -Wno-deprecated -g -march=native -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DEQ2 -DWORLD -I/usr/include/mysql -I/usr/mysql/include -I./LUA/include ../common/PacketStruct.cpp -o ../common/PacketStruct.o
../common/PacketStruct.cpp: In member function âvoid PacketStruct::deleteDataStructs(std::vector<DataStruct*>*)â:
../common/PacketStruct.cpp:351:6: warning: deleting âvoid*â is undefined [enabled by default]
../common/PacketStruct.cpp:354:6: warning: deleting âvoid*â is undefined [enabled by default]
../common/PacketStruct.cpp: In member function âvoid PacketStruct::reAddAll(int32)â:
../common/PacketStruct.cpp:1069:5: warning: deleting âvoid*â is undefined [enabled by default]
../common/PacketStruct.cpp:1072:5: warning: deleting âvoid*â is undefined [enabled by default]
../common/PacketStruct.cpp: In member function âvoid PacketStruct::LoadFromPacketStruct(PacketStruct*, char*)â:
../common/PacketStruct.cpp:1964:72: error: taking address of temporary [-fpermissive]
../common/PacketStruct.cpp:1967:73: error: taking address of temporary [-fpermissive]
../common/PacketStruct.cpp:1971:73: error: taking address of temporary [-fpermissive]
../common/PacketStruct.cpp:1986:97: error: taking address of temporary [-fpermissive]
../common/PacketStruct.cpp: In member function âvoid PacketStruct::ComparePacket(PacketStruct*)â:
../common/PacketStruct.cpp:2156:88: warning: format â%sâ expects a matching âchar*â argument [-Wformat]
../common/PacketStruct.cpp:2164:88: warning: format â%sâ expects a matching âchar*â argument [-Wformat]
../common/PacketStruct.cpp:2172:88: warning: format â%sâ expects a matching âchar*â argument [-Wformat]
In file included from ../common/PacketStruct.cpp:20:0:
../common/PacketStruct.h: In member function âvoid PacketStruct::dataPrint(Data) [with Data = unsigned char]â:
../common/PacketStruct.cpp:1808:53: instantiated from here
../common/PacketStruct.h:459:5: warning: format â%Luâ expects argument of type âlong long unsigned intâ, but argument 3 has type âintâ [-Wformat]
../common/PacketStruct.h: In member function âvoid PacketStruct::dataPrint(Data) [with Data = short unsigned int]â:
../common/PacketStruct.cpp:1812:54: instantiated from here
../common/PacketStruct.h:459:5: warning: format â%Luâ expects argument of type âlong long unsigned intâ, but argument 3 has type âintâ [-Wformat]
../common/PacketStruct.h: In member function âvoid PacketStruct::dataPrint(Data) [with Data = unsigned int]â:
../common/PacketStruct.cpp:1816:54: instantiated from here
../common/PacketStruct.h:459:5: warning: format â%Luâ expects argument of type âlong long unsigned intâ, but argument 3 has type âunsigned intâ [-Wformat]
../common/PacketStruct.h: In member function âvoid PacketStruct::dataPrint(Data) [with Data = long long unsigned int]â:
../common/PacketStruct.cpp:1820:54: instantiated from here
../common/PacketStruct.h:454:4: warning: format â%iâ expects argument of type âintâ, but argument 3 has type âlong long unsigned intâ [-Wformat]
../common/PacketStruct.h:463:4: warning: format â%uâ expects argument of type âunsigned intâ, but argument 3 has type âlong long unsigned intâ [-Wformat]
../common/PacketStruct.h: In member function âvoid PacketStruct::dataPrint(Data) [with Data = signed char]â:
../common/PacketStruct.cpp:1824:54: instantiated from here
../common/PacketStruct.h:455:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
../common/PacketStruct.h:459:5: warning: format â%Luâ expects argument of type âlong long unsigned intâ, but argument 3 has type âintâ [-Wformat]
../common/PacketStruct.h: In member function âvoid PacketStruct::dataPrint(Data) [with Data = short int]â:
../common/PacketStruct.cpp:1828:55: instantiated from here
../common/PacketStruct.h:455:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
../common/PacketStruct.h:459:5: warning: format â%Luâ expects argument of type âlong long unsigned intâ, but argument 3 has type âintâ [-Wformat]
../common/PacketStruct.h: In member function âvoid PacketStruct::dataPrint(Data) [with Data = int]â:
../common/PacketStruct.cpp:1832:55: instantiated from here
../common/PacketStruct.h:455:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
../common/PacketStruct.h:459:5: warning: format â%Luâ expects argument of type âlong long unsigned intâ, but argument 3 has type âintâ [-Wformat]
../common/PacketStruct.h: In member function âvoid PacketStruct::dataPrint(Data) [with Data = float]â:
../common/PacketStruct.cpp:2071:61: instantiated from here
../common/PacketStruct.h:454:4: warning: format â%iâ expects argument of type âintâ, but argument 3 has type âdoubleâ [-Wformat]
../common/PacketStruct.h:459:5: warning: format â%Luâ expects argument of type âlong long unsigned intâ, but argument 3 has type âdoubleâ [-Wformat]
../common/PacketStruct.h:463:4: warning: format â%uâ expects argument of type âunsigned intâ, but argument 3 has type âdoubleâ [-Wformat]
../common/PacketStruct.h: In member function âvoid PacketStruct::dataPrint(Data) [with Data = double]â:
../common/PacketStruct.cpp:2085:62: instantiated from here
../common/PacketStruct.h:454:4: warning: format â%iâ expects argument of type âintâ, but argument 3 has type âdoubleâ [-Wformat]
../common/PacketStruct.h:459:5: warning: format â%Luâ expects argument of type âlong long unsigned intâ, but argument 3 has type âdoubleâ [-Wformat]
../common/PacketStruct.h:463:4: warning: format â%uâ expects argument of type âunsigned intâ, but argument 3 has type âdoubleâ [-Wformat]
../common/PacketStruct.h: In member function âvoid PacketStruct::dataPrint(Data) [with Data = char]â:
../common/PacketStruct.cpp:2141:60: instantiated from here
../common/PacketStruct.h:455:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
../common/PacketStruct.h:459:5: warning: format â%Luâ expects argument of type âlong long unsigned intâ, but argument 3 has type âintâ [-Wformat]
make: *** [../common/PacketStruct.o] Error 1