10-27-2012, 07:20 PM
(This post was last modified: 10-27-2012, 07:27 PM by The Walking Glitch.)
(10-09-2012, 03:27 PM)konfiot Wrote:Phenom II 1090T @ 4.4Ghz; 16GB of RAM; 120GB SSD boot drive; 4 2TB drives, RAID 0+1; CFed 7870's OCed to 1200MHz. Fedora 17 xfce. And yes, the -fpermissive flag does work magic sometimes.(10-09-2012, 12:28 PM)The Walking Glitch Wrote:Arf, Yeah the last rev is fixing this error, but I got an other error, which I fixed also with with a -fpermissive flag (this flag is kinda magic) Hope it will work for you.(10-06-2012, 06:02 PM)konfiot Wrote: You can add the -fpermissive flag to compile it, it worked for me, but now I have bugs, and the server crashes when someone respawns (see Here)
I tried that, and I still came upon the error. I meant to upload the patched cryptopp files the other night, but forgot about it in the midst of real life. I'm going to try downloading the latest revision.
What's your hardware and OS ?
Code:
make release=1 CFLAGS="-fpermissive"
/usr/bin/g++ -s -O3 -DNDEBUG -c -I. -Isource -Isource/md5 -IWebServer -Isource/items -Isource/blocks -Itolua++-1.0.93/src/lib -Ilua-5.1.4/src -Izlib-1.2.7 -IiniFile -Itolua++-1.0.93/include -Ijsoncpp-src-0.5.0/include -Ijsoncpp-src-0.5.0/src/lib_json -Isquirrel_3_0_1_stable/include -Isquirrel_3_0_1_stable -Isquirrel_3_0_1_stable/sqrat source/Server.cpp -o build/release/source/Server.o
In file included from source/Protocol/ProtocolRecognizer.h:13:0,
from source/Server.cpp:23:
source/Protocol/Protocol.h: In member function ‘void cProtocol::WriteVectorI(const Vector3i&)’:
source/Protocol/Protocol.h:163:22: error: ‘WriteInt’ was not declared in this scope
make: *** [build/release/source/Server.o] Error 1
Still refuses to compile even with -fpermissive set, as you can see. I don't have the time to fix it myself right now.