Ir para conteúdo

Erro Na Compilação Do Tfs 0.4 Trunk 3777 (Linux)


Orfao

Posts Recomendados

Bom dia.

Estou compilando o tfs 04 trunk 3777 no arch linux. Porém houve um erro:

 

renan@skynet:~/tfs/trunk.r3777
$  make
make  all-am
make[1]: Entering directory `/home/renan/tfs/trunk.r3777'
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 -pipe -MT game.o -MD -MP -MF .deps/game.Tpo -c -o game.o game.cpp
game.cpp: In constructor ‘Game::Game()’:
game.cpp:80:22: error: array subscript is above array bounds [-Werror=array-bounds]
game.h: In member function ‘void Game::globalSave()’:
game.h:613:76: error: array subscript is above array bounds [-Werror=array-bounds]
game.cpp: In member function ‘void Game::prepareGlobalSave()’:
game.cpp:6138:30: error: array subscript is above array bounds [-Werror=array-bounds]
game.cpp:6140:22: error: array subscript is above array bounds [-Werror=array-bounds]
cc1plus: all warnings being treated as errors

make[1]: *** [game.o] Error 1
make[1]: Leaving directory `/home/renan/tfs/trunk.r3777'
make: *** [all] Error 2

 

Alguma ideia?

 

Agradeço desde ja,

Editado por Orfao
Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...