Skip to content

Instantly share code, notes, and snippets.

Created February 10, 2016 21:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/6e15d6d109d8be816bd8 to your computer and use it in GitHub Desktop.
Save anonymous/6e15d6d109d8be816bd8 to your computer and use it in GitHub Desktop.
/root/ElunaTrinityWotlk/src/server/scripts/Custom/world_chat.cpp: In member function ‘virtual std::vector<ChatCommand> world_chat::GetCommands() const’:
/root/ElunaTrinityWotlk/src/server/scripts/Custom/world_chat.cpp:57:17: error: could not convert ‘{{"c", RBAC_PERM_COMMAND_WORLD_CHAT, true, world_chat::HandleWorldChatCommand, "", 0l}, {0l, 0, false, 0l, "", 0l}}’ from ‘<brace-enclosed initializer list>’ to ‘std::vector<ChatCommand>’
};
^
compilation terminated due to -Wfatal-errors.
src/server/scripts/CMakeFiles/scripts.dir/build.make:1503: recipe for target 'src/server/scripts/CMakeFiles/scripts.dir/Custom/world_chat.cpp.o' failed
make[2]: *** [src/server/scripts/CMakeFiles/scripts.dir/Custom/world_chat.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:1279: recipe for target 'src/server/scripts/CMakeFiles/scripts.dir/all' failed
make[1]: *** [src/server/scripts/CMakeFiles/scripts.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Linking CXX static library libgame.a
[ 41%] Built target game
Makefile:117: recipe for target 'all' failed
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment