Error on compile 3.3.5a on last core( a3ff7eaae9a8+)

Issue #76 resolved
AS Joao created an issue

On build the core with the latest update to the following error: [ 15%] Building CXX object src/server/game/CMakeFiles/game.dir/AI/NpcBots/bot_warlock_ai.cpp.o /home/warcraft/335/bots-core/src/server/game/AI/NpcBots/bot_warlock_ai.cpp: In member function ‘virtual void warlock_bot::warlock_botAI::InitSpells()’: /home/warcraft/335/bots-core/src/server/game/AI/NpcBots/bot_warlock_ai.cpp:358: error: third operand to the conditional operator is of type ‘void’, but the second operand is neither a throw-expression nor of type ‘void’ compilation terminated due to -Wfatal-errors. make[2]: [src/server/game/CMakeFiles/game.dir/AI/NpcBots/bot_warlock_ai.cpp.o] Error 1 make[1]: [src/server/game/CMakeFiles/game.dir/all] Error 2 make: *** [all] Error 2

Comments (1)

  1. trickerer repo owner

    Oh, I missed this one. That's crazy, VS9 compiles it just fine, without warnings(!).
    Well, 8045fd2855
    But these last commits don't add anything new... yet. Just an improvement

  2. Log in to comment