Postado Julho 26, 2020 4 anos The Forgotten Server 0.4, Versão: 8.6, Ubuntu 16.04 Nao estou conseguindo compilar as sources REV 3996 postado pelo Yan Liima: Surgem os seguintes erros: Citar protocolgame.cpp:2272:10: warning: comparison is always false due to limited range of d ata type [-Wtype-limits] if(type > MAGIC_EFFECT_LAST || !canSee(pos)) Citar game.cpp: In constructor ‘Game::Game()’: game.cpp:81:31: warning: iteration 2u invokes undefined behavior [-Waggressive-loop-opt imizations] globalSaveMessage = false; ^game.cpp:80:23: note: containing loop for(int32_t i = 0; i < 3; i++) ^In file included from game.cpp:18:0:game.h: In member function ‘void Game::globalSave()’:game.h:624:85: warning: iteration 2u invokes undefined behavior [-Waggressive-loop-optimizations] void setGlobalSaveMessage(int16_t key, bool value) {globalSaveMessage[key] = value;} ^game.cpp:6461:23: note: containing loop for(int16_t i = 0; i < 3; i++) Segue imagem: Alguem pode me ajudar ? Agradeço desde ja. Editado Julho 26, 2020 4 anos por Vitoxy (veja o histórico de edições)
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.