View Single Post
  #1  
Old 09-17-2005, 08:12 AM
Darkmeerkat
Fire Beetle
 
Join Date: Sep 2005
Posts: 4
Question Some Errors...

I'm having a problem compiling the "net.cpp" file:
When I run make in the zone directory, I get this at the end of the output:
Quote:
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wno-deprecated -Wcomment -Wcast-align -O2 -ggdb -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DEQDEBUG=5 -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -DFIELD_ITEMS `mysql_config --cflags` net.cpp -o net.o
net.cpp: In function `char* strsep(char**, const char*)':
net.cpp:969: error: declaration of `char* strsep(char**, const char*)' throws
different exceptions
net.cpp:144: error: than previous declaration `char* strsep(char**, const
char*) throw ()'
make: *** [net.o] Error 1
As far as I can tell, it has something to do with the strsep function, but I'm not skilled enough to figure out much beyond that.
The closest I could find to a replication of the problem was this post, and I'm not running SuSE. (Slackware for me! )
Any ideas?

Last edited by Darkmeerkat; 09-22-2005 at 11:57 PM.. Reason: Title was no longer relevent.
Reply With Quote