Compile Error #91
Labels
No labels
bug
duplicate
enhancement
help wanted
in progress...
information
invalid
not enough info
priority high
priority low
priority normal
question
request
research
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Techwizz/pvpgn-server#91
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
In file included from /home/pvpgn/src/bnetd/command.cpp:90:0:
/home/pvpgn/src/bnetd/luainterface.h:61:28: warning: comma at end of enumerator list [-pedantic]
/home/pvpgn/src/bnetd/command.cpp: In function ‘int pvpgn::bnetd::handle_ladderinfo_command(pvpgn::bnetd::t_connection, const char_)’:
/home/pvpgn/src/bnetd/command.cpp:3995:92: warning: format ‘%s’ expects argument of type ‘char_’, but argument 4 has type ‘unsigned int’ [-Wformat]
/home/pvpgn/src/bnetd/command.cpp:3995:92: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 5 has type ‘const char_’ [-Wformat]
/home/pvpgn/src/bnetd/command.cpp:3995:92: warning: format ‘%s’ expects argument of type ‘char_’, but argument 6 has type ‘unsigned int’ [-Wformat]
/home/pvpgn/src/bnetd/command.cpp:3995:92: warning: format ‘%u’ expects a matching ‘unsigned int’ argument [-Wformat]
/home/pvpgn/src/bnetd/command.cpp:3995:92: warning: format ‘%s’ expects argument of type ‘char_’, but argument 4 has type ‘unsigned int’ [-Wformat]
/home/pvpgn/src/bnetd/command.cpp:3995:92: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 5 has type ‘const char_’ [-Wformat]
/home/pvpgn/src/bnetd/command.cpp:3995:92: warning: format ‘%s’ expects argument of type ‘char_’, but argument 6 has type ‘unsigned int’ [-Wformat]
/home/pvpgn/src/bnetd/command.cpp:3995:92: warning: format ‘%u’ expects a matching ‘unsigned int’ argument [-Wformat]
/home/pvpgn/src/bnetd/command.cpp: In function ‘int pvpgn::bnetd::handle_spoofc_command(pvpgn::bnetd::t_connection, const char_)’:
/home/pvpgn/src/bnetd/command.cpp:5228:71: error: cannot convert ‘std::string {aka std::basic_string}’ to ‘char_’ for argument ‘1’ to ‘int snprintf(char_, size_t, const char_, ...)’
/home/pvpgn/src/bnetd/command.cpp:5230:30: error: cannot convert ‘std::string {aka std::basic_string}’ to ‘const char_’ for argument ‘2’ to ‘void pvpgn::bnetd::do_whisper(pvpgn::bnetd::t_connection_, const char_, const char_)’
/home/pvpgn/src/bnetd/command.cpp: In function ‘int pvpgn::bnetd::handle_move_command(pvpgn::bnetd::t_connection, const char_)’:
/home/pvpgn/src/bnetd/command.cpp:5280:115: error: cannot convert ‘std::string {aka std::basic_string}’ to ‘char_’ for argument ‘1’ to ‘int snprintf(char_, size_t, const char_, ...)’
make[2]: *** [src/bnetd/CMakeFiles/bnetd.dir/command.o] Error 1
make[1]: *** [src/bnetd/CMakeFiles/bnetd.dir/all] Error 2
make: *** [all] Error 2
my bad, lol