All pastes #35119 Raw Edit

Something

public text v1 · immutable
#35119 ·published 2005-12-29 02:43 UTC
rendered paste body

[root@server EMuShareMem]# make clean
rm -f MMFMutex.o Doors.o Items.o Spells.o NPCFactionLists.o MMF.o Loot.o ../common/timer.o ../common/unix.o ../common/EMuShareMem.o libEMuShareMem.so
[root@server EMuShareMem]# make
gcc -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wno-deprecated -Wcomment -Wcast-align -DDEBUG=1 -DSHAREMEM -DCATCH_CRASH -DEMUSHAREMEM -g -fPIC -O2 -D_GNU_SOURCE -DINVERSEXY -DFX `mysql_config --cflags` -c MMFMutex.cpp -o MMFMutex.o
/usr/bin/mysql_config: line 16: syntax error near unexpected token `&'
/usr/bin/mysql_config: line 16: `           cat <<EOF'
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
gcc -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wno-deprecated -Wcomment -Wcast-align -DDEBUG=1 -DSHAREMEM -DCATCH_CRASH -DEMUSHAREMEM -g -fPIC -O2 -D_GNU_SOURCE -DINVERSEXY -DFX `mysql_config --cflags` -c Doors.cpp -o Doors.o
/usr/bin/mysql_config: line 16: syntax error near unexpected token `&'
/usr/bin/mysql_config: line 16: `           cat <<EOF'
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
In file included from ../zone/zonedump.h:31,
                 from Doors.h:2,
                 from Doors.cpp:12:
../zone/../common/Item.h:270: error: `sint16 Inventory::_PutItem(sint16, ItemInst*)' is protected
../zone/../common/Item.h:469: error: within this context
../zone/../common/Item.h:273: error: `sint16 Inventory::_HasItem(std::map<sint16, ItemInst*, std::less<sint16>, std::allocator<std::pair<const sint16, ItemInst*> > >&, const Item_Struct*, uint8)' is protected
../zone/../common/Item.h:539: error: within this context
../zone/../common/Item.h:275: error: `sint16 Inventory::_HasItemByUse(std::map<sint16, ItemInst*, std::less<sint16>, std::allocator<std::pair<const sint16, ItemInst*> > >&, uint8, uint8)' is protected
../zone/../common/Item.h:541: error: within this context
../zone/../common/Item.h:270: error: `sint16 Inventory::_PutItem(sint16, ItemInst*)' is protected
../zone/../common/Item.h:548: error: within this context
make: *** [Doors.o] Error 1