toxic21
New Member
- Joined
- Apr 20, 2011
- Messages
- 3
- Reaction score
- 0
Hi,
I'm trying to compile my tfs server and i can't get it right!
When i use the make comand it begins nice but when it reches the game.cpp give me errors
see the log:
Thanks
I'm trying to compile my tfs server and i can't get it right!
When i use the make comand it begins nice but when it reches the game.cpp give me errors
see the log:
Code:
root@server:/home/otserv# make
make all-am
make[1]: Entrando no diretório `/home/otserv'
g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fomit-frame-pointer -D__USE_MYSQL__ -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Werror -Wno-strict-aliasing -Wno-unused-parameter -pipe -MT game.o -MD -MP -MF .deps/game.Tpo -c -o game.o game.cpp
game.cpp: No construtor âGame::Game()â:
game.cpp:80:22: erro: array subscript is above array bounds [-Werror=array-bounds]
game.h: Na função membro âvoid Game::globalSave()â:
game.h:623:76: erro: array subscript is above array bounds [-Werror=array-bounds]
game.cpp: Na função membro âvoid Game::prepareGlobalSave()â:
game.cpp:6256:30: erro: array subscript is above array bounds [-Werror=array-bounds]
game.cpp:6258:22: erro: array subscript is above array bounds [-Werror=array-bounds]
cc1plus: all warnings being treated as errors
make[1]: ** [game.o] Erro 1
make[1]: Saindo do diretório `/home/otserv'
make: ** [all] Erro 2
Thanks
Last edited: