View Single Post
  #1  
Old 12-12-2003, 12:15 PM
krampf
Fire Beetle
 
Join Date: Dec 2003
Posts: 7
Default Compiling under SuSE 9.0 issues

After reading the "Linux Readme" and getting past the section on working for the government (which I have also considered the NSA but didn't do it, although I am an X-Army officer) and looking at problems that others had under Red Hat, I am having a problem with compiling both world and zone. After getting the source via CVS, make worked fine in EMuShareMem. Here are the warnings from the compiler when trying to make world. I tried "make" as normal user then "make clean && make" as root.

Code:
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual  -Wstrict-prototypes -Wcomment -Wcast-align -Winline -Wno-deprecated -g -march=i686 -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD -DDEBUG=5 -DSHAREMEM -DCATCH_CRASH -DNO_PIDLOG -DFIELD_ITEMS -I/usr/include/mysql -I/usr/mysql/include ../common/EQNetwork.cpp -o ../common/EQNetwork.o
../common/EQNetwork.cpp: In member function `
   EQNetworkServer::EQNetworkServer(short unsigned int)':
../common/queue.h:46: warning: inlining failed in call to `
   MyQueue<T>::MyQueue() [with T = EQNetworkConnection]'
../common/EQNetwork.cpp:73: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = EQNetworkConnection]'
../common/EQNetwork.cpp:73: warning: called from here
../common/EQNetwork.cpp: In member function `
   EQNetworkServer::EQNetworkServer(short unsigned int)':
../common/queue.h:46: warning: inlining failed in call to `
   MyQueue<T>::MyQueue() [with T = EQNetworkConnection]'
../common/EQNetwork.cpp:73: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = EQNetworkConnection]'
../common/EQNetwork.cpp:73: warning: called from here
../common/EQNetwork.cpp: In member function `
   EQNetworkServer::~EQNetworkServer()':
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = EQNetworkConnection]'
../common/EQNetwork.cpp:86: warning: called from here
../common/queue.h:67: warning: inlining failed in call to `T* MyQueue<T>::pop()
   [with T = EQNetworkConnection]'
../common/EQNetwork.cpp:95: warning: called from here
../common/EQNetwork.cpp: In member function `virtual
   EQNetworkServer::~EQNetworkServer()':
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = EQNetworkConnection]'
../common/EQNetwork.cpp:86: warning: called from here
../common/queue.h:67: warning: inlining failed in call to `T* MyQueue<T>::pop()
   [with T = EQNetworkConnection]'
../common/EQNetwork.cpp:95: warning: called from here
../common/EQNetwork.cpp: In member function `virtual
   EQNetworkServer::~EQNetworkServer()':
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = EQNetworkConnection]'
../common/EQNetwork.cpp:86: warning: called from here
../common/queue.h:67: warning: inlining failed in call to `T* MyQueue<T>::pop()
   [with T = EQNetworkConnection]'
../common/EQNetwork.cpp:95: warning: called from here
../common/EQNetwork.cpp: In member function `bool EQNetworkServer::Open(short
   unsigned int)':
../common/EQNetwork.cpp:119: warning: unused variable `int reuse_addr'
../common/EQNetwork.cpp: In member function `void EQNetworkServer::Process()':
../common/linked_list.h:101: warning: inlining failed in call to `
   LinkedListIterator<TYPE>::LinkedListIterator(LinkedList<TYPE>&, direction)
   [with TYPE = EQNetworkConnection*]'
../common/EQNetwork.cpp:228: warning: called from here
../common/EQNetwork.cpp: In member function `void
   EQNetworkServer::RecvData(uchar*, unsigned int, unsigned int, short unsigned
   int)':
../common/linked_list.h:101: warning: inlining failed in call to `
   LinkedListIterator<TYPE>::LinkedListIterator(LinkedList<TYPE>&, direction)
   [with TYPE = EQNetworkConnection*]'
../common/EQNetwork.cpp:263: warning: called from here
../common/queue.h:54: warning: inlining failed in call to `void
   MyQueue<T>::push(T*) [with T = EQNetworkConnection]'
../common/EQNetwork.cpp:281: warning: called from here
../common/EQNetwork.cpp: In member function `EQNetworkConnection*
   EQNetworkServer::NewQueuePop()':
../common/queue.h:67: warning: inlining failed in call to `T* MyQueue<T>::pop()
   [with T = EQNetworkConnection]'
../common/EQNetwork.cpp:295: warning: called from here
../common/EQNetwork.cpp: In member function `
   EQNetworkConnection::EQNetworkConnection(unsigned int, short unsigned int)':
../common/queue.h:46: warning: inlining failed in call to `
   MyQueue<T>::MyQueue() [with T = InQueue_Struct]'
../common/EQNetwork.cpp:345: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = InQueue_Struct]'
../common/EQNetwork.cpp:345: warning: called from here
../common/queue.h:46: warning: inlining failed in call to `
   MyQueue<T>::MyQueue() [with T = APPLAYER]'
../common/EQNetwork.cpp:345: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = APPLAYER]'
../common/EQNetwork.cpp:345: warning: called from here
../common/EQNetwork.cpp: In member function `
   EQNetworkConnection::EQNetworkConnection(unsigned int, short unsigned int)':
../common/queue.h:46: warning: inlining failed in call to `
   MyQueue<T>::MyQueue() [with T = InQueue_Struct]'
../common/EQNetwork.cpp:345: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = InQueue_Struct]'
../common/EQNetwork.cpp:345: warning: called from here
../common/queue.h:46: warning: inlining failed in call to `
   MyQueue<T>::MyQueue() [with T = APPLAYER]'
../common/EQNetwork.cpp:345: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = APPLAYER]'
../common/EQNetwork.cpp:345: warning: called from here
../common/EQNetwork.cpp: In member function `
   EQNetworkConnection::EQNetworkConnection()':
../common/queue.h:46: warning: inlining failed in call to `
   MyQueue<T>::MyQueue() [with T = InQueue_Struct]'
../common/EQNetwork.cpp:369: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = InQueue_Struct]'
../common/EQNetwork.cpp:369: warning: called from here
../common/queue.h:46: warning: inlining failed in call to `
   MyQueue<T>::MyQueue() [with T = APPLAYER]'
../common/EQNetwork.cpp:369: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = APPLAYER]'
../common/EQNetwork.cpp:369: warning: called from here
../common/EQNetwork.cpp: In member function `
   EQNetworkConnection::EQNetworkConnection()':
../common/queue.h:46: warning: inlining failed in call to `
   MyQueue<T>::MyQueue() [with T = InQueue_Struct]'
../common/EQNetwork.cpp:369: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = InQueue_Struct]'
../common/EQNetwork.cpp:369: warning: called from here
../common/queue.h:46: warning: inlining failed in call to `
   MyQueue<T>::MyQueue() [with T = APPLAYER]'
../common/EQNetwork.cpp:369: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = APPLAYER]'
../common/EQNetwork.cpp:369: warning: called from here
../common/EQNetwork.cpp: In member function `
   EQNetworkConnection::~EQNetworkConnection()':
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = InQueue_Struct]'
../common/EQNetwork.cpp:396: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = APPLAYER]'
../common/EQNetwork.cpp:396: warning: called from here
../common/queue.h:67: warning: inlining failed in call to `T* MyQueue<T>::pop()
   [with T = InQueue_Struct]'
../common/EQNetwork.cpp:407: warning: called from here
../common/queue.h:67: warning: inlining failed in call to `T* MyQueue<T>::pop()
   [with T = APPLAYER]'
../common/EQNetwork.cpp:412: warning: called from here
../common/EQNetwork.cpp: In member function `virtual
   EQNetworkConnection::~EQNetworkConnection()':
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = InQueue_Struct]'
../common/EQNetwork.cpp:396: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = APPLAYER]'
../common/EQNetwork.cpp:396: warning: called from here
../common/queue.h:67: warning: inlining failed in call to `T* MyQueue<T>::pop()
   [with T = InQueue_Struct]'
../common/EQNetwork.cpp:407: warning: called from here
../common/queue.h:67: warning: inlining failed in call to `T* MyQueue<T>::pop()
   [with T = APPLAYER]'
../common/EQNetwork.cpp:412: warning: called from here
../common/EQNetwork.cpp: In member function `virtual
   EQNetworkConnection::~EQNetworkConnection()':
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = InQueue_Struct]'
../common/EQNetwork.cpp:396: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = APPLAYER]'
../common/EQNetwork.cpp:396: warning: called from here
../common/queue.h:67: warning: inlining failed in call to `T* MyQueue<T>::pop()
   [with T = InQueue_Struct]'
../common/EQNetwork.cpp:407: warning: called from here
../common/queue.h:67: warning: inlining failed in call to `T* MyQueue<T>::pop()
   [with T = APPLAYER]'
../common/EQNetwork.cpp:412: warning: called from here
../common/EQNetwork.cpp: In member function `APPLAYER*
   EQNetworkConnection::PopPacket()':
../common/queue.h:67: warning: inlining failed in call to `T* MyQueue<T>::pop()
   [with T = APPLAYER]'
../common/EQNetwork.cpp:459: warning: called from here
../common/EQNetwork.cpp: In member function `void
   EQNetworkConnection::OutQueuePush(APPLAYER*)':
../common/queue.h:54: warning: inlining failed in call to `void
   MyQueue<T>::push(T*) [with T = APPLAYER]'
../common/EQNetwork.cpp:466: warning: called from here
../common/EQNetwork.cpp: In member function `void
   EQNetworkConnection::QueuePacket(const APPLAYER*, bool)':
../common/queue.h:54: warning: inlining failed in call to `void
   MyQueue<T>::push(T*) [with T = InQueue_Struct]'
../common/EQNetwork.cpp:480: warning: called from here
../common/EQNetwork.cpp: In member function `void
   EQNetworkConnection::FastQueuePacket(APPLAYER**, bool)':
../common/queue.h:54: warning: inlining failed in call to `void
   MyQueue<T>::push(T*) [with T = InQueue_Struct]'
../common/EQNetwork.cpp:497: warning: called from here
../common/EQNetwork.cpp: In member function `void
   EQNetworkConnection::RemoveData()':
../common/queue.h:102: warning: inlining failed in call to `void
   MyQueue<T>::clear() [with T = APPLAYER]'
../common/EQNetwork.cpp:505: warning: called from here
../common/queue.h:102: warning: inlining failed in call to `void
   MyQueue<T>::clear() [with T = InQueue_Struct]'
../common/EQNetwork.cpp:506: warning: called from here
../common/EQNetwork.cpp: In member function `void EQNetworkConnection::Close()
   ':
../common/queue.h:54: warning: inlining failed in call to `void
   MyQueue<T>::push(T*) [with T = InQueue_Struct]'
../common/EQNetwork.cpp:521: warning: called from here
../common/EQNetwork.cpp: In member function `void
   EQNetworkConnection::CloseSock()':
../common/queue.h:67: warning: inlining failed in call to `T* MyQueue<T>::pop()
   [with T = InQueue_Struct]'
../common/EQNetwork.cpp:605: warning: called from here
../common/queue.h:67: warning: inlining failed in call to `T* MyQueue<T>::pop()
   [with T = APPLAYER]'
../common/EQNetwork.cpp:610: warning: called from here
../common/EQNetwork.cpp: In member function `InQueue_Struct*
   EQNetworkConnection::InQueuePop()':
../common/queue.h:67: warning: inlining failed in call to `T* MyQueue<T>::pop()
   [with T = InQueue_Struct]'
../common/EQNetwork.cpp:734: warning: called from here
../common/EQNetwork.cpp: In member function `void
   EQNetworkFragmentGroupList::CheckTimers()':
../common/linked_list.h:101: warning: inlining failed in call to `
   LinkedListIterator<TYPE>::LinkedListIterator(LinkedList<TYPE>&, direction)
   [with TYPE = EQNetworkFragmentGroup*]'
../common/EQNetwork.cpp:1836: warning: called from here
../common/EQNetwork.cpp: In member function `bool EQDataPacket::Decode(sint64*,
   int8*, unsigned int)':
../common/queue.h:54: warning: inlining failed in call to `void
   MyQueue<T>::push(T*) [with T = APPLAYER]'
../common/EQNetwork.cpp:1925: warning: called from here
../common/EQNetwork.cpp: In member function `bool EQDataPacket::Decode(sint64*,
   short unsigned int, int8*, unsigned int)':
../common/EQNetwork.cpp:2067: warning: comparison between signed and unsigned
   integer expressions
../common/EQNetwork.cpp:2067: warning: comparison between signed and unsigned
   integer expressions
../common/queue.h:54: warning: inlining failed in call to `void
   MyQueue<T>::push(T*) [with T = APPLAYER]'
../common/EQNetwork.cpp:2074: warning: called from here
../common/queue.h:54: warning: inlining failed in call to `void
   MyQueue<T>::push(T*) [with T = APPLAYER]'
../common/EQNetwork.cpp:2102: warning: called from here
../common/linked_list.h: In member function `void
   LinkedList<TYPE>::Append(const TYPE&) [with TYPE = EQNetworkConnection*]':
../common/EQNetwork.cpp:279:   instantiated from here
../common/linked_list.h:59: warning: inlining failed in call to `void
   ListElement<TYPE>::SetLastNext(ListElement<TYPE>*) [with TYPE =
   EQNetworkConnection*]'
../common/linked_list.h:391: warning: called from here
../common/queue.h: In member function `void MyQueue<T>::push(T*) [with T =
   EQNetworkConnection]':
../common/EQNetwork.cpp:281:   instantiated from here
../common/queue.h:29: warning: inlining failed in call to `
   MyQueueNode<T>::MyQueueNode(T*) [with T = EQNetworkConnection]'
../common/queue.h:57: warning: called from here
../common/queue.h:29: warning: inlining failed in call to `
   MyQueueNode<T>::MyQueueNode(T*) [with T = EQNetworkConnection]'
../common/queue.h:61: warning: called from here
../common/queue.h: In member function `void MyQueue<T>::push(T*) [with T =
   APPLAYER]':
../common/EQNetwork.cpp:466:   instantiated from here
../common/queue.h:29: warning: inlining failed in call to `
   MyQueueNode<T>::MyQueueNode(T*) [with T = APPLAYER]'
../common/queue.h:57: warning: called from here
../common/queue.h:29: warning: inlining failed in call to `
   MyQueueNode<T>::MyQueueNode(T*) [with T = APPLAYER]'
../common/queue.h:61: warning: called from here
../common/queue.h: In member function `void MyQueue<T>::push(T*) [with T =
   InQueue_Struct]':
../common/EQNetwork.cpp:480:   instantiated from here
../common/queue.h:29: warning: inlining failed in call to `
   MyQueueNode<T>::MyQueueNode(T*) [with T = InQueue_Struct]'
../common/queue.h:57: warning: called from here
../common/queue.h:29: warning: inlining failed in call to `
   MyQueueNode<T>::MyQueueNode(T*) [with T = InQueue_Struct]'
../common/queue.h:61: warning: called from here
../common/linked_list.h: In member function `void
   LinkedList<TYPE>::Append(const TYPE&) [with TYPE = EQNetworkPacket*]':
../common/EQNetwork.cpp:1062:   instantiated from here
../common/linked_list.h:59: warning: inlining failed in call to `void
   ListElement<TYPE>::SetLastNext(ListElement<TYPE>*) [with TYPE =
   EQNetworkPacket*]'
../common/linked_list.h:391: warning: called from here
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual  -Wstrict-prototypes -Wcomment -Wcast-align -Winline -Wno-deprecated -g -march=i686 -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD -DDEBUG=5 -DSHAREMEM -DCATCH_CRASH -DNO_PIDLOG -DFIELD_ITEMS -I/usr/include/mysql -I/usr/mysql/include ../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  -Wstrict-prototypes -Wcomment -Wcast-align -Winline -Wno-deprecated -g -march=i686 -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD -DDEBUG=5 -DSHAREMEM -DCATCH_CRASH -DNO_PIDLOG -DFIELD_ITEMS -I/usr/include/mysql -I/usr/mysql/include ../common/races.cpp -o ../common/races.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual  -Wstrict-prototypes -Wcomment -Wcast-align -Winline -Wno-deprecated -g -march=i686 -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD -DDEBUG=5 -DSHAREMEM -DCATCH_CRASH -DNO_PIDLOG -DFIELD_ITEMS -I/usr/include/mysql -I/usr/mysql/include ../common/Mutex.cpp -o ../common/Mutex.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual  -Wstrict-prototypes -Wcomment -Wcast-align -Winline -Wno-deprecated -g -march=i686 -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD -DDEBUG=5 -DSHAREMEM -DCATCH_CRASH -DNO_PIDLOG -DFIELD_ITEMS -I/usr/include/mysql -I/usr/mysql/include ../common/MiscFunctions.cpp -o ../common/MiscFunctions.o
../common/MiscFunctions.cpp: In function `bool ParseAddress(const char*,
   int32*, int16*, char*)':
../common/seperator.h:31: warning: inlining failed in call to `
   Seperator::Seperator(const char*, char, short unsigned int, short unsigned
   int, bool, char, char, bool)'
../common/MiscFunctions.cpp:90: warning: called from here
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual  -Wstrict-prototypes -Wcomment -Wcast-align -Winline -Wno-deprecated -g -march=i686 -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD -DDEBUG=5 -DSHAREMEM -DCATCH_CRASH -DNO_PIDLOG -DFIELD_ITEMS -I/usr/include/mysql -I/usr/mysql/include ../common/serverinfo.cpp -o ../common/serverinfo.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual  -Wstrict-prototypes -Wcomment -Wcast-align -Winline -Wno-deprecated -g -march=i686 -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD -DDEBUG=5 -DSHAREMEM -DCATCH_CRASH -DNO_PIDLOG -DFIELD_ITEMS -I/usr/include/mysql -I/usr/mysql/include ../common/packet_functions.cpp -o ../common/packet_functions.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual  -Wstrict-prototypes -Wcomment -Wcast-align -Winline -Wno-deprecated -g -march=i686 -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD -DDEBUG=5 -DSHAREMEM -DCATCH_CRASH -DNO_PIDLOG -DFIELD_ITEMS -I/usr/include/mysql -I/usr/mysql/include ../common/classes.cpp -o ../common/classes.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual  -Wstrict-prototypes -Wcomment -Wcast-align -Winline -Wno-deprecated -g -march=i686 -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD -DDEBUG=5 -DSHAREMEM -DCATCH_CRASH -DNO_PIDLOG -DFIELD_ITEMS -I/usr/include/mysql -I/usr/mysql/include ../common/TCPConnection.cpp -o ../common/TCPConnection.o
../common/TCPConnection.cpp: In member function `
   TCPConnection::TCPConnection(bool, TCPServer*, eTCPMode)':
../common/queue.h:46: warning: inlining failed in call to `
   MyQueue<T>::MyQueue() [with T = char]'
../common/TCPConnection.cpp:84: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = char]'
../common/TCPConnection.cpp:84: warning: called from here
../common/queue.h:46: warning: inlining failed in call to `
   MyQueue<T>::MyQueue() [with T = ServerPacket]'
../common/TCPConnection.cpp:84: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = ServerPacket]'
../common/TCPConnection.cpp:84: warning: called from here
../common/queue.h:46: warning: inlining failed in call to `
   MyQueue<T>::MyQueue() [with T = TCPConnection::TCPNetPacket_Struct]'
../common/TCPConnection.cpp:84: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = TCPConnection::TCPNetPacket_Struct]'
../common/TCPConnection.cpp:84: warning: called from here
../common/TCPConnection.cpp: In member function `
   TCPConnection::TCPConnection(bool, TCPServer*, eTCPMode)':
../common/queue.h:46: warning: inlining failed in call to `
   MyQueue<T>::MyQueue() [with T = char]'
../common/TCPConnection.cpp:84: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = char]'
../common/TCPConnection.cpp:84: warning: called from here
../common/queue.h:46: warning: inlining failed in call to `
   MyQueue<T>::MyQueue() [with T = ServerPacket]'
../common/TCPConnection.cpp:84: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = ServerPacket]'
../common/TCPConnection.cpp:84: warning: called from here
../common/queue.h:46: warning: inlining failed in call to `
   MyQueue<T>::MyQueue() [with T = TCPConnection::TCPNetPacket_Struct]'
../common/TCPConnection.cpp:84: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = TCPConnection::TCPNetPacket_Struct]'
../common/TCPConnection.cpp:84: warning: called from here
../common/TCPConnection.cpp: In member function `
   TCPConnection::TCPConnection(TCPServer*, int, unsigned int, short unsigned
   int, bool)':
../common/queue.h:46: warning: inlining failed in call to `
   MyQueue<T>::MyQueue() [with T = char]'
../common/TCPConnection.cpp:113: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = char]'
../common/TCPConnection.cpp:113: warning: called from here
../common/queue.h:46: warning: inlining failed in call to `
   MyQueue<T>::MyQueue() [with T = ServerPacket]'
../common/TCPConnection.cpp:113: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = ServerPacket]'
../common/TCPConnection.cpp:113: warning: called from here
../common/queue.h:46: warning: inlining failed in call to `
   MyQueue<T>::MyQueue() [with T = TCPConnection::TCPNetPacket_Struct]'
../common/TCPConnection.cpp:113: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = TCPConnection::TCPNetPacket_Struct]'
../common/TCPConnection.cpp:113: warning: called from here
../common/TCPConnection.cpp: In member function `
   TCPConnection::TCPConnection(TCPServer*, int, unsigned int, short unsigned
   int, bool)':
../common/queue.h:46: warning: inlining failed in call to `
   MyQueue<T>::MyQueue() [with T = char]'
../common/TCPConnection.cpp:113: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = char]'
../common/TCPConnection.cpp:113: warning: called from here
../common/queue.h:46: warning: inlining failed in call to `
   MyQueue<T>::MyQueue() [with T = ServerPacket]'
../common/TCPConnection.cpp:113: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = ServerPacket]'
../common/TCPConnection.cpp:113: warning: called from here
../common/queue.h:46: warning: inlining failed in call to `
   MyQueue<T>::MyQueue() [with T = TCPConnection::TCPNetPacket_Struct]'
../common/TCPConnection.cpp:113: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = TCPConnection::TCPNetPacket_Struct]'
../common/TCPConnection.cpp:113: warning: called from here
../common/TCPConnection.cpp: In member function `
   TCPConnection::TCPConnection(TCPServer*, TCPConnection*, unsigned int,
   unsigned int, short unsigned int)':
../common/queue.h:46: warning: inlining failed in call to `
   MyQueue<T>::MyQueue() [with T = char]'
../common/TCPConnection.cpp:144: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = char]'
../common/TCPConnection.cpp:144: warning: called from here
../common/queue.h:46: warning: inlining failed in call to `
   MyQueue<T>::MyQueue() [with T = ServerPacket]'
../common/TCPConnection.cpp:144: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = ServerPacket]'
../common/TCPConnection.cpp:144: warning: called from here
../common/queue.h:46: warning: inlining failed in call to `
   MyQueue<T>::MyQueue() [with T = TCPConnection::TCPNetPacket_Struct]'
../common/TCPConnection.cpp:144: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = TCPConnection::TCPNetPacket_Struct]'
../common/TCPConnection.cpp:144: warning: called from here
../common/TCPConnection.cpp: In member function `
   TCPConnection::TCPConnection(TCPServer*, TCPConnection*, unsigned int,
   unsigned int, short unsigned int)':
../common/queue.h:46: warning: inlining failed in call to `
   MyQueue<T>::MyQueue() [with T = char]'
../common/TCPConnection.cpp:144: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = char]'
../common/TCPConnection.cpp:144: warning: called from here
../common/queue.h:46: warning: inlining failed in call to `
   MyQueue<T>::MyQueue() [with T = ServerPacket]'
../common/TCPConnection.cpp:144: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = ServerPacket]'
../common/TCPConnection.cpp:144: warning: called from here
../common/queue.h:46: warning: inlining failed in call to `
   MyQueue<T>::MyQueue() [with T = TCPConnection::TCPNetPacket_Struct]'
../common/TCPConnection.cpp:144: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = TCPConnection::TCPNetPacket_Struct]'
../common/TCPConnection.cpp:144: warning: called from here
../common/TCPConnection.cpp: In member function `
   TCPConnection::~TCPConnection()':
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = char]'
../common/TCPConnection.cpp:174: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = ServerPacket]'
../common/TCPConnection.cpp:174: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = TCPConnection::TCPNetPacket_Struct]'
../common/TCPConnection.cpp:174: warning: called from here
../common/TCPConnection.cpp: In member function `virtual
   TCPConnection::~TCPConnection()':
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = char]'
../common/TCPConnection.cpp:174: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = ServerPacket]'
../common/TCPConnection.cpp:174: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = TCPConnection::TCPNetPacket_Struct]'
../common/TCPConnection.cpp:174: warning: called from here
../common/TCPConnection.cpp: In member function `virtual
   TCPConnection::~TCPConnection()':
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = char]'
../common/TCPConnection.cpp:174: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = ServerPacket]'
../common/TCPConnection.cpp:174: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = TCPConnection::TCPNetPacket_Struct]'
../common/TCPConnection.cpp:174: warning: called from here
../common/TCPConnection.cpp: In member function `void
   TCPConnection::InModeQueuePush(TCPConnection::TCPNetPacket_Struct*)':
../common/queue.h:54: warning: inlining failed in call to `void
   MyQueue<T>::push(T*) [with T = TCPConnection::TCPNetPacket_Struct]'
../common/TCPConnection.cpp:336: warning: called from here
../common/TCPConnection.cpp: In member function `ServerPacket*
   TCPConnection::PopPacket()':
../common/queue.h:67: warning: inlining failed in call to `T* MyQueue<T>::pop()
   [with T = ServerPacket]'
../common/TCPConnection.cpp:422: warning: called from here
../common/TCPConnection.cpp: In member function `char* TCPConnection::PopLine()
   ':
../common/queue.h:67: warning: inlining failed in call to `T* MyQueue<T>::pop()
   [with T = char]'
../common/TCPConnection.cpp:431: warning: called from here
../common/TCPConnection.cpp: In member function `void
   TCPConnection::OutQueuePush(ServerPacket*)':
../common/queue.h:54: warning: inlining failed in call to `void
   MyQueue<T>::push(T*) [with T = ServerPacket]'
../common/TCPConnection.cpp:438: warning: called from here
../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/queue.h:67: warning: inlining failed in call to `T* MyQueue<T>::pop()
   [with T = TCPConnection::TCPNetPacket_Struct]'
../common/TCPConnection.cpp:456: warning: called from here
../common/queue.h:54: warning: inlining failed in call to `void
   MyQueue<T>::push(T*) [with T = char]'
../common/TCPConnection.cpp:465: warning: called from here
../common/TCPConnection.cpp: In member function `void
   TCPConnection::ClearBuffers()':
../common/queue.h:67: warning: inlining failed in call to `T* MyQueue<T>::pop()
   [with T = TCPConnection::TCPNetPacket_Struct]'
../common/TCPConnection.cpp:700: warning: called from here
../common/queue.h:67: warning: inlining failed in call to `T* MyQueue<T>::pop()
   [with T = char]'
../common/TCPConnection.cpp:703: warning: called from here
../common/TCPConnection.cpp: In member function `bool
   TCPConnection::ProcessReceivedDataAsOldPackets(char*)':
../common/TCPConnection.cpp:1145: warning: comparison between signed and
   unsigned integer expressions
../common/TCPConnection.cpp: In member function `TCPServer::TCPServer(short
   unsigned int, bool)':
../common/queue.h:46: warning: inlining failed in call to `
   MyQueue<T>::MyQueue() [with T = TCPConnection]'
../common/TCPConnection.cpp:1416: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = TCPConnection]'
../common/TCPConnection.cpp:1416: warning: called from here
../common/queue.h:46: warning: inlining failed in call to `
   MyQueue<T>::MyQueue() [with T = TCPConnection::TCPNetPacket_Struct]'
../common/TCPConnection.cpp:1416: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = TCPConnection::TCPNetPacket_Struct]'
../common/TCPConnection.cpp:1416: warning: called from here
../common/TCPConnection.cpp: In member function `TCPServer::TCPServer(short
   unsigned int, bool)':
../common/queue.h:46: warning: inlining failed in call to `
   MyQueue<T>::MyQueue() [with T = TCPConnection]'
../common/TCPConnection.cpp:1416: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = TCPConnection]'
../common/TCPConnection.cpp:1416: warning: called from here
../common/queue.h:46: warning: inlining failed in call to `
   MyQueue<T>::MyQueue() [with T = TCPConnection::TCPNetPacket_Struct]'
../common/TCPConnection.cpp:1416: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = TCPConnection::TCPNetPacket_Struct]'
../common/TCPConnection.cpp:1416: warning: called from here
../common/TCPConnection.cpp: In member function `TCPServer::~TCPServer()':
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = TCPConnection]'
../common/TCPConnection.cpp:1431: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = TCPConnection::TCPNetPacket_Struct]'
../common/TCPConnection.cpp:1431: warning: called from here
../common/queue.h:67: warning: inlining failed in call to `T* MyQueue<T>::pop()
   [with T = TCPConnection]'
../common/TCPConnection.cpp:1438: warning: called from here
../common/TCPConnection.cpp: In member function `virtual
   TCPServer::~TCPServer()':
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = TCPConnection]'
../common/TCPConnection.cpp:1431: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = TCPConnection::TCPNetPacket_Struct]'
../common/TCPConnection.cpp:1431: warning: called from here
../common/queue.h:67: warning: inlining failed in call to `T* MyQueue<T>::pop()
   [with T = TCPConnection]'
../common/TCPConnection.cpp:1438: warning: called from here
../common/TCPConnection.cpp: In member function `virtual
   TCPServer::~TCPServer()':
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = TCPConnection]'
../common/TCPConnection.cpp:1431: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
   MyQueue<T>::~MyQueue() [with T = TCPConnection::TCPNetPacket_Struct]'
../common/TCPConnection.cpp:1431: warning: called from here
../common/queue.h:67: warning: inlining failed in call to `T* MyQueue<T>::pop()
   [with T = TCPConnection]'
../common/TCPConnection.cpp:1438: warning: called from here
../common/TCPConnection.cpp: In member function `void TCPServer::Process()':
../common/linked_list.h:101: warning: inlining failed in call to `
   LinkedListIterator<TYPE>::LinkedListIterator(LinkedList<TYPE>&, direction)
   [with TYPE = TCPConnection*]'
../common/TCPConnection.cpp:1481: warning: called from here
../common/TCPConnection.cpp: In member function `TCPConnection*
   TCPServer::NewQueuePop()':
../common/queue.h:67: warning: inlining failed in call to `T* MyQueue<T>::pop()
   [with T = TCPConnection]'
../common/TCPConnection.cpp:1638: warning: called from here
../common/TCPConnection.cpp: In member function `void
   TCPServer::AddConnection(TCPConnection*)':
../common/queue.h:54: warning: inlining failed in call to `void
   MyQueue<T>::push(T*) [with T = TCPConnection]'
../common/TCPConnection.cpp:1646: warning: called from here
../common/TCPConnection.cpp: In member function `void
   TCPServer::SendPacket(TCPConnection::TCPNetPacket_Struct**)':
../common/queue.h:54: warning: inlining failed in call to `void
   MyQueue<T>::push(T*) [with T = TCPConnection::TCPNetPacket_Struct]'
../common/TCPConnection.cpp:1669: warning: called from here
../common/TCPConnection.cpp: In member function `
   TCPConnection::TCPNetPacket_Struct* TCPServer::InQueuePop()':
../common/queue.h:67: warning: inlining failed in call to `T* MyQueue<T>::pop()
   [with T = TCPConnection::TCPNetPacket_Struct]'
../common/TCPConnection.cpp:1692: warning: called from here
../common/queue.h: In member function `void MyQueue<T>::push(T*) [with T =
   TCPConnection::TCPNetPacket_Struct]':
../common/TCPConnection.cpp:336:   instantiated from here
../common/queue.h:29: warning: inlining failed in call to `
   MyQueueNode<T>::MyQueueNode(T*) [with T =
   TCPConnection::TCPNetPacket_Struct]'
../common/queue.h:57: warning: called from here
../common/queue.h:29: warning: inlining failed in call to `
   MyQueueNode<T>::MyQueueNode(T*) [with T =
   TCPConnection::TCPNetPacket_Struct]'
../common/queue.h:61: warning: called from here
../common/queue.h: In member function `void MyQueue<T>::push(T*) [with T =
   ServerPacket]':
../common/TCPConnection.cpp:438:   instantiated from here
../common/queue.h:29: warning: inlining failed in call to `
   MyQueueNode<T>::MyQueueNode(T*) [with T = ServerPacket]'
../common/queue.h:57: warning: called from here
../common/queue.h:29: warning: inlining failed in call to `
   MyQueueNode<T>::MyQueueNode(T*) [with T = ServerPacket]'
../common/queue.h:61: warning: called from here
../common/queue.h: In member function `void MyQueue<T>::push(T*) [with T =
   char]':
../common/TCPConnection.cpp:465:   instantiated from here
../common/queue.h:29: warning: inlining failed in call to `
   MyQueueNode<T>::MyQueueNode(T*) [with T = char]'
../common/queue.h:57: warning: called from here
../common/queue.h:29: warning: inlining failed in call to `
   MyQueueNode<T>::MyQueueNode(T*) [with T = char]'
../common/queue.h:61: warning: called from here
../common/queue.h: In member function `void MyQueue<T>::push(T*) [with T =
   TCPConnection]':
../common/TCPConnection.cpp:1646:   instantiated from here
../common/queue.h:29: warning: inlining failed in call to `
   MyQueueNode<T>::MyQueueNode(T*) [with T = TCPConnection]'
../common/queue.h:57: warning: called from here
../common/queue.h:29: warning: inlining failed in call to `
   MyQueueNode<T>::MyQueueNode(T*) [with T = TCPConnection]'
../common/queue.h:61: warning: called from here
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual  -Wstrict-prototypes -Wcomment -Wcast-align -Winline -Wno-deprecated -g -march=i686 -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD -DDEBUG=5 -DSHAREMEM -DCATCH_CRASH -DNO_PIDLOG -DFIELD_ITEMS -I/usr/include/mysql -I/usr/mysql/include ../common/eqtime.cpp -o ../common/eqtime.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual  -Wstrict-prototypes -Wcomment -Wcast-align -Winline -Wno-deprecated -g -march=i686 -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD -DDEBUG=5 -DSHAREMEM -DCATCH_CRASH -DNO_PIDLOG -DFIELD_ITEMS -I/usr/include/mysql -I/usr/mysql/include ../common/crc32.cpp -o ../common/crc32.o
../common/crc32.cpp:105:2: warning: #warning "Comment out i386 define if your arch isn't x86"
../common/crc32.cpp: In static member function `static uint32
   CRC32::Update(const int8*, unsigned int, unsigned int)':
../common/crc32.cpp:167: error: asm-specifier for variable `val' conflicts with
   asm clobber list
make: *** [../common/crc32.o] Error 1
I am running gcc version 3.3.1 and mysql 4.0.15. Any help would be greatly appreciated to include harassment. Thanx.
__________________
--
Sp4z80Y
Reply With Quote