Ir para conteúdo

Featured Replies

Postado
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

:(

  • 2 weeks later...
  • Respostas 8
  • Visualizações 8.2k
  • Created
  • Última resposta

Top Posters In This Topic

  • 2 months later...
  • 2 months later...

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.

Visitante
Responder

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Estatísticas dos Fóruns

  • Tópicos 96.9k
  • Posts 519.7k

Informação Importante

Confirmação de Termo