View Single Post
  #1  
Old 04-19-2005, 08:27 PM
braindisconnect
Fire Beetle
 
Join Date: Apr 2005
Posts: 9
Question Compile issue with Latest

I am using Suse 9.3 and MySQL DB resides on another server, but I am utilizing the rpm installs that cam with 9.3.

gcc v3.3.5
perl v5.8.6
MySQL 4.1.10a client side

EMuShareMem appears to compile correctly...

I am getting a compile error when compiling the zone:

Quote:
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wno-deprecated -Wcomment -Wcast-align -O -g -pg -march=i686 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DEQDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -DFIELD_ITEMS -DEMBPERL -DEMBPERL_PLUGIN -DHAS_UNION_SEMUN -I/usr/include/mysql `perl -MExtUtils::Embed -e ccopts` net.cpp -o net.o
net.cpp: In function `char* strsep(char**, const char*)':
net.cpp:940: error: declaration of `char* strsep(char**, const char*)' throws
different exceptions
net.cpp:141: error: than previous declaration `char* strsep(char**, const
char*) throw ()'
make: *** [net.o] Error 1
The other errors are with world, but world appears to work correctly, but there are quite a few of them and I want to have them double checked by the gurus:
Quote:
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:75: warning: called from here
../common/queue.h:49: warning: inlining failed in call to `
MyQueue<T>::~MyQueue() [with T = EQNetworkConnection]'

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)'

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]'
Thanks In Advanced!
BrainDisconnect
Reply With Quote