Ir para conteúdo

zote

Membro
  • Registro em

  • Última visita

  1. player.h: In member function 'bool Player::addCastBan(std::string)': player.h:252:46: error: cannot call constructor 'CastBan::CastBan' directly [-fpermissive] cast.bans.push_back(CastBan::CastBan(n, ip)); ^ player.h:252:46: note: for a function-style cast, remove the redundant '::CastBan' player.h: In member function 'bool Player::addCastMute(std::string)': player.h:273:47: error: cannot call constructor 'CastBan::CastBan' directly [-fpermissive] cast.muted.push_back(CastBan::CastBan(n, ip)); ^ player.h:273:47: note: for a function-style cast, remove the redundant '::CastBan' Makefile:541: recipe for target 'beds.o' failed make[1]: *** [beds.o] Error 1 make[1]: *** Waiting for unfinished jobs.... In file included from actions.cpp:23:0: player.h: In member function 'uint32_t Player::getCastIpByName(std::string)': player.h:214:11: warning: converting to non-pointer type 'uint32_t {aka unsigned int}' from NULL [-Wconversion-null] return NULL; ^ player.h: In member function 'void Player::kickCastViewers()': player.h:235:34: error: cannot call constructor 'PlayerCast::PlayerCast' directly [-fpermissive] cast = PlayerCast::PlayerCast(); ^ player.h:235:34: note: for a function-style cast, remove the redundant '::PlayerCast' In file included from actions.cpp:23:0: player.h: In member function 'bool Player::addCastBan(std::string)': player.h:252:46: error: cannot call constructor 'CastBan::CastBan' directly [-fpermissive] cast.bans.push_back(CastBan::CastBan(n, ip)); ^ player.h:252:46: note: for a function-style cast, remove the redundant '::CastBan' player.h: In member function 'bool Player::addCastMute(std::string)': player.h:273:47: error: cannot call constructor 'CastBan::CastBan' directly [-fpermissive] cast.muted.push_back(CastBan::CastBan(n, ip)); ^ player.h:273:47: note: for a function-style cast, remove the redundant '::CastBan' Makefile:541: recipe for target 'actions.o' failed make[1]: *** [actions.o] Error 1 mv -f .deps/baseevents.Tpo .deps/baseevents.Po /bin/bash: warning: setlocale: LC_ALL: cannot change locale (ar_MA.UTF-8) make[1]: Leaving directory '/home/tibia86/sources (cast)' Makefile:396: recipe for target 'all' failed make: *** [all] Error 2

Informação Importante

Confirmação de Termo