cocacola13
Member
hello,
I have a problem when compiling the server 8..6 tfs 0.4.0.
Please Help me 
I have a problem when compiling the server 8..6 tfs 0.4.0.
LUA:
root@vps797536:/home/otsik# make
cd . && /bin/bash ./config.status Makefile depfiles
config.status: creating Makefile
config.status: executing depfiles commands
make all-am
make[1]: Entering directory '/home/otsik'
g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fomit-frame-pointer -D__USE_MYSQL__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wextra -Werror -Wno-strict-aliasing -Wno-unused-parameter -pipe -MT chat.o -MD -MP -MF .deps/chat.Tpo -c -o chat.o chat.cpp
chat.cpp: In member function 'ChatChannel* Chat::getChannel(Player*, uint16_t)':
chat.cpp:1144:10: error: converting 'false' to pointer type 'ChatChannel*' [-Werror=conversion-null]
return false;
^
cc1plus: all warnings being treated as errors
Makefile:540: recipe for target 'chat.o' failed
make[1]: *** [chat.o] Error 1
make[1]: Leaving directory '/home/otsik'
Makefile:396: recipe for target 'all' failed
make: *** [all] Error 2
root@vps797536:/home/otsik#
