Core:70fbaef
An error was reported during compilation
[ 99%] Building CXX object src/server/scripts/CMakeFiles/scripts.dir/__/__/__/modules/mod-world-chat/src/WC_loader.cpp.o [ 99%] Building CXX object src/server/scripts/CMakeFiles/scripts.dir/__/__/__/modules/mod-world-chat/src/WorldChat.cpp.o /home/azerothcore-wotlk/modules/mod-world-chat/src/WorldChat.cpp:240:17: warning: 'ChatCommand' is deprecated: std::vector<ChatCommand> should be ChatCommandTable! (using namespace Acore::ChatCommands) [-Wdeprecated-declarations] std::vector<ChatCommand> GetCommands() const ^ /home/azerothcore-wotlk/src/server/game/Chat/ChatCommands/ChatCommand.h:278:21: note: 'ChatCommand' has been explicitly marked deprecated here using ChatCommand [[deprecated("std::vector<ChatCommand> should be ChatCommandTable! (using namespace Acore::ChatCommands)")]] = Acore::ChatCommands::ChatCommandBuilder; ^ /home/azerothcore-wotlk/modules/mod-world-chat/src/WorldChat.cpp:244:13: warning: 'ChatCommandBuilder' is deprecated: you are using the old-style command format; convert this to the new format ({ name, handler (not a pointer!), permission, Console::(Yes/No) }) [-Wdeprecated-declarations] { "on", SEC_PLAYER, false, &HandleWorldChatOnCommand, "" }, ^ /home/azerothcore-wotlk/src/server/game/Chat/ChatCommands/ChatCommand.h:258:9: note: 'ChatCommandBuilder' has been explicitly marked deprecated here ChatCommandBuilder(char const* name, uint32 securityLevel, bool console, TypedHandler* handler, char const*) ^ /home/azerothcore-wotlk/modules/mod-world-chat/src/WorldChat.cpp:245:13: warning: 'ChatCommandBuilder' is deprecated: you are using the old-style command format; convert this to the new format ({ name, handler (not a pointer!), permission, Console::(Yes/No) }) [-Wdeprecated-declarations] { "off", SEC_PLAYER, false, &HandleWorldChatOffCommand, "" }, ^ /home/azerothcore-wotlk/src/server/game/Chat/ChatCommands/ChatCommand.h:258:9: note: 'ChatCommandBuilder' has been explicitly marked deprecated here ChatCommandBuilder(char const* name, uint32 securityLevel, bool console, TypedHandler* handler, char const*) ^ /home/azerothcore-wotlk/modules/mod-world-chat/src/WorldChat.cpp:246:13: warning: 'ChatCommandBuilder' is deprecated: you are using the old-style command format; convert this to the new format ({ name, handler (not a pointer!), permission, Console::(Yes/No) }) [-Wdeprecated-declarations] { "", SEC_PLAYER, false, &HandleWorldChatCommand, "" }, ^ /home/azerothcore-wotlk/src/server/game/Chat/ChatCommands/ChatCommand.h:258:9: note: 'ChatCommandBuilder' has been explicitly marked deprecated here ChatCommandBuilder(char const* name, uint32 securityLevel, bool console, TypedHandler* handler, char const*) ^ /home/azerothcore-wotlk/modules/mod-world-chat/src/WorldChat.cpp:242:28: warning: 'ChatCommand' is deprecated: std::vector<ChatCommand> should be ChatCommandTable! (using namespace Acore::ChatCommands) [-Wdeprecated-declarations] static std::vector<ChatCommand> wcCommandTable = ^ /home/azerothcore-wotlk/src/server/game/Chat/ChatCommands/ChatCommand.h:278:21: note: 'ChatCommand' has been explicitly marked deprecated here using ChatCommand [[deprecated("std::vector<ChatCommand> should be ChatCommandTable! (using namespace Acore::ChatCommands)")]] = Acore::ChatCommands::ChatCommandBuilder; ^ /home/azerothcore-wotlk/modules/mod-world-chat/src/WorldChat.cpp:250:13: warning: 'ChatCommandBuilder' is deprecated: you are using the old-style command format; convert this to the new format ({ name, subCommands }) [-Wdeprecated-declarations] { "chat", SEC_PLAYER, true, NULL , "" , wcCommandTable}, ^ /home/azerothcore-wotlk/src/server/game/Chat/ChatCommands/ChatCommand.h:261:11: note: 'ChatCommandBuilder' has been explicitly marked deprecated here [[deprecated("you are using the old-style command format; convert this to the new format ({ name, subCommands })")]] ^ /home/azerothcore-wotlk/modules/mod-world-chat/src/WorldChat.cpp:251:13: warning: 'ChatCommandBuilder' is deprecated: you are using the old-style command format; convert this to the new format ({ name, handler (not a pointer!), permission, Console::(Yes/No) }) [-Wdeprecated-declarations] { "chath", SEC_MODERATOR, true, &HandleWorldChatHordeCommand , ""}, ^ /home/azerothcore-wotlk/src/server/game/Chat/ChatCommands/ChatCommand.h:258:9: note: 'ChatCommandBuilder' has been explicitly marked deprecated here ChatCommandBuilder(char const* name, uint32 securityLevel, bool console, TypedHandler* handler, char const*) ^ /home/azerothcore-wotlk/modules/mod-world-chat/src/WorldChat.cpp:252:13: warning: 'ChatCommandBuilder' is deprecated: you are using the old-style command format; convert this to the new format ({ name, handler (not a pointer!), permission, Console::(Yes/No) }) [-Wdeprecated-declarations] { "chata", SEC_MODERATOR, true, &HandleWorldChatAllianceCommand , ""}, ^ /home/azerothcore-wotlk/src/server/game/Chat/ChatCommands/ChatCommand.h:258:9: note: 'ChatCommandBuilder' has been explicitly marked deprecated here ChatCommandBuilder(char const* name, uint32 securityLevel, bool console, TypedHandler* handler, char const*) ^ /home/azerothcore-wotlk/modules/mod-world-chat/src/WorldChat.cpp:248:28: warning: 'ChatCommand' is deprecated: std::vector<ChatCommand> should be ChatCommandTable! (using namespace Acore::ChatCommands) [-Wdeprecated-declarations] static std::vector<ChatCommand> commandTable = ^ /home/azerothcore-wotlk/src/server/game/Chat/ChatCommands/ChatCommand.h:278:21: note: 'ChatCommand' has been explicitly marked deprecated here using ChatCommand [[deprecated("std::vector<ChatCommand> should be ChatCommandTable! (using namespace Acore::ChatCommands)")]] = Acore::ChatCommands::ChatCommandBuilder; ^ 9 warnings generated. [ 99%] Linking CXX static library libscripts.a [ 99%] Built target scripts make: *** [Makefile:130: all] Error 2 root@VM-0-8-ubuntu:/home/azerothcore-wotlk/build#
Core:70fbaef
An error was reported during compilation
[ 99%] Building CXX object src/server/scripts/CMakeFiles/scripts.dir/__/__/__/modules/mod-world-chat/src/WC_loader.cpp.o [ 99%] Building CXX object src/server/scripts/CMakeFiles/scripts.dir/__/__/__/modules/mod-world-chat/src/WorldChat.cpp.o /home/azerothcore-wotlk/modules/mod-world-chat/src/WorldChat.cpp:240:17: warning: 'ChatCommand' is deprecated: std::vector<ChatCommand> should be ChatCommandTable! (using namespace Acore::ChatCommands) [-Wdeprecated-declarations] std::vector<ChatCommand> GetCommands() const ^ /home/azerothcore-wotlk/src/server/game/Chat/ChatCommands/ChatCommand.h:278:21: note: 'ChatCommand' has been explicitly marked deprecated here using ChatCommand [[deprecated("std::vector<ChatCommand> should be ChatCommandTable! (using namespace Acore::ChatCommands)")]] = Acore::ChatCommands::ChatCommandBuilder; ^ /home/azerothcore-wotlk/modules/mod-world-chat/src/WorldChat.cpp:244:13: warning: 'ChatCommandBuilder' is deprecated: you are using the old-style command format; convert this to the new format ({ name, handler (not a pointer!), permission, Console::(Yes/No) }) [-Wdeprecated-declarations] { "on", SEC_PLAYER, false, &HandleWorldChatOnCommand, "" }, ^ /home/azerothcore-wotlk/src/server/game/Chat/ChatCommands/ChatCommand.h:258:9: note: 'ChatCommandBuilder' has been explicitly marked deprecated here ChatCommandBuilder(char const* name, uint32 securityLevel, bool console, TypedHandler* handler, char const*) ^ /home/azerothcore-wotlk/modules/mod-world-chat/src/WorldChat.cpp:245:13: warning: 'ChatCommandBuilder' is deprecated: you are using the old-style command format; convert this to the new format ({ name, handler (not a pointer!), permission, Console::(Yes/No) }) [-Wdeprecated-declarations] { "off", SEC_PLAYER, false, &HandleWorldChatOffCommand, "" }, ^ /home/azerothcore-wotlk/src/server/game/Chat/ChatCommands/ChatCommand.h:258:9: note: 'ChatCommandBuilder' has been explicitly marked deprecated here ChatCommandBuilder(char const* name, uint32 securityLevel, bool console, TypedHandler* handler, char const*) ^ /home/azerothcore-wotlk/modules/mod-world-chat/src/WorldChat.cpp:246:13: warning: 'ChatCommandBuilder' is deprecated: you are using the old-style command format; convert this to the new format ({ name, handler (not a pointer!), permission, Console::(Yes/No) }) [-Wdeprecated-declarations] { "", SEC_PLAYER, false, &HandleWorldChatCommand, "" }, ^ /home/azerothcore-wotlk/src/server/game/Chat/ChatCommands/ChatCommand.h:258:9: note: 'ChatCommandBuilder' has been explicitly marked deprecated here ChatCommandBuilder(char const* name, uint32 securityLevel, bool console, TypedHandler* handler, char const*) ^ /home/azerothcore-wotlk/modules/mod-world-chat/src/WorldChat.cpp:242:28: warning: 'ChatCommand' is deprecated: std::vector<ChatCommand> should be ChatCommandTable! (using namespace Acore::ChatCommands) [-Wdeprecated-declarations] static std::vector<ChatCommand> wcCommandTable = ^ /home/azerothcore-wotlk/src/server/game/Chat/ChatCommands/ChatCommand.h:278:21: note: 'ChatCommand' has been explicitly marked deprecated here using ChatCommand [[deprecated("std::vector<ChatCommand> should be ChatCommandTable! (using namespace Acore::ChatCommands)")]] = Acore::ChatCommands::ChatCommandBuilder; ^ /home/azerothcore-wotlk/modules/mod-world-chat/src/WorldChat.cpp:250:13: warning: 'ChatCommandBuilder' is deprecated: you are using the old-style command format; convert this to the new format ({ name, subCommands }) [-Wdeprecated-declarations] { "chat", SEC_PLAYER, true, NULL , "" , wcCommandTable}, ^ /home/azerothcore-wotlk/src/server/game/Chat/ChatCommands/ChatCommand.h:261:11: note: 'ChatCommandBuilder' has been explicitly marked deprecated here [[deprecated("you are using the old-style command format; convert this to the new format ({ name, subCommands })")]] ^ /home/azerothcore-wotlk/modules/mod-world-chat/src/WorldChat.cpp:251:13: warning: 'ChatCommandBuilder' is deprecated: you are using the old-style command format; convert this to the new format ({ name, handler (not a pointer!), permission, Console::(Yes/No) }) [-Wdeprecated-declarations] { "chath", SEC_MODERATOR, true, &HandleWorldChatHordeCommand , ""}, ^ /home/azerothcore-wotlk/src/server/game/Chat/ChatCommands/ChatCommand.h:258:9: note: 'ChatCommandBuilder' has been explicitly marked deprecated here ChatCommandBuilder(char const* name, uint32 securityLevel, bool console, TypedHandler* handler, char const*) ^ /home/azerothcore-wotlk/modules/mod-world-chat/src/WorldChat.cpp:252:13: warning: 'ChatCommandBuilder' is deprecated: you are using the old-style command format; convert this to the new format ({ name, handler (not a pointer!), permission, Console::(Yes/No) }) [-Wdeprecated-declarations] { "chata", SEC_MODERATOR, true, &HandleWorldChatAllianceCommand , ""}, ^ /home/azerothcore-wotlk/src/server/game/Chat/ChatCommands/ChatCommand.h:258:9: note: 'ChatCommandBuilder' has been explicitly marked deprecated here ChatCommandBuilder(char const* name, uint32 securityLevel, bool console, TypedHandler* handler, char const*) ^ /home/azerothcore-wotlk/modules/mod-world-chat/src/WorldChat.cpp:248:28: warning: 'ChatCommand' is deprecated: std::vector<ChatCommand> should be ChatCommandTable! (using namespace Acore::ChatCommands) [-Wdeprecated-declarations] static std::vector<ChatCommand> commandTable = ^ /home/azerothcore-wotlk/src/server/game/Chat/ChatCommands/ChatCommand.h:278:21: note: 'ChatCommand' has been explicitly marked deprecated here using ChatCommand [[deprecated("std::vector<ChatCommand> should be ChatCommandTable! (using namespace Acore::ChatCommands)")]] = Acore::ChatCommands::ChatCommandBuilder; ^ 9 warnings generated. [ 99%] Linking CXX static library libscripts.a [ 99%] Built target scripts make: *** [Makefile:130: all] Error 2 root@VM-0-8-ubuntu:/home/azerothcore-wotlk/build#