handert
New Member
- Joined
- Nov 14, 2010
- Messages
- 4
- Reaction score
- 0
Help Compiling server Ubuntu 11.10 Lts, tsf 0.4 (rev trunk.3777)
---- error ----
error tidy as follows, was in the "game.h" sought by the line "globalSaveMessage bool [2];" and changed the 2 by 3, thus;
globalSaveMessage bool [3];
Attention: At the rev trunk.3777 globalSaveMessage [2], is on the line 672 and rev 3884 he is on the line 686.
it appeared to me a new error, it would be this:
---- error ----
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:613:76: erro: array subscript is above array bounds [-Werror=array-bounds]
game.cpp: Na função membro 'void Game:repareGlobalSave()':
game.cpp:6138:30: erro: array subscript is above array bounds [-Werror=array-bounds]
game.cpp:6140:22: erro: array subscript is above array bounds [-Werror=array-bounds]
cc1plus: todos os avisos devem ser tratados como erros
make[1]: ** [game.o] Erro 1
make[1]: ** Esperando que outros processos terminem.
mv -f .deps/group.Tpo .deps/group.Po
make[1]: Saindo do diretório `/root/tfs/rev2'
make: ** [all] Erro 2
error tidy as follows, was in the "game.h" sought by the line "globalSaveMessage bool [2];" and changed the 2 by 3, thus;
globalSaveMessage bool [3];
Attention: At the rev trunk.3777 globalSaveMessage [2], is on the line 672 and rev 3884 he is on the line 686.
it appeared to me a new error, it would be this:
someone could help me?luascript.cpp: Na função membro 'bool LuaInterface::loadDirectory(const string&, Npc*)':
luascript.cpp:741:23: erro: 'class boost::filesystem3::directory_entry' has no member named 'leaf'
mv -f .deps/items.Tpo .deps/items.Po
g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -I/usr/include/lua5.1 -O2 -fomit-frame-pointer -D__USE_MYSQL__ -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Werror -Wno-strict-aliasing -pipe -MT mailbox.o -MD -MP -MF .deps/mailbox.Tpo -c -o mailbox.o mailbox.cpp
make[1]: ** [luascript.o] Erro 1
make[1]: ** Esperando que outros processos terminem.
mv -f .deps/mailbox.Tpo .deps/mailbox.Po
mv -f .deps/iomapserialize.Tpo .deps/iomapserialize.Po
mv -f .deps/item.Tpo .deps/item.Po
make[1]: Saindo do diretório `/root/ot'
make: ** [all] Erro 2
Last edited: