• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Bład przy kompilacji

bunio001

New Member
Joined
Mar 7, 2018
Messages
5
Reaction score
1
Witam jestem w tracie kompilacji tfs 0.4 i wywala mi błąd:


status.cpp: In member function 'std::string Status::getStatusString(bool) const':
status.cpp:138:24: error: 'connectionCount' is not a member of 'Connection'
sprintf(buffer, "%d", Connection::connectionCount);
^
status.cpp: In member function 'void Status::getInfo(uint32_t, OutputMessage_ptr, NetworkMessage&) const':
status.cpp:236:25: error: 'connectionCount' is not a member of 'Connection'
output->put<uint32_t>(Connection::connectionCount);
^
Makefile:541: recipe for target 'status.o' failed
make[1]: *** [status.o] Error 1
make[1]: Leaving directory '/home/ots/src'
Makefile:396: recipe for target 'all' failed
make: *** [all] Error 2


-Wall już wywaliłem i dalej nic
 
Back
Top