@Don Daniello @dominique120
Code:
make[1]: *** [actions.o] Error 1
make[1]: ** Esperando que outros processos terminem.
In file included from house.h:27:0,
from beds.cpp:20:
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 house.h:27:0,
from beds.cpp:20:
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]: Leaving directory '/home/dcp/3884cast'
Makefile:396: recipe for target 'all' failed
make: *** [all] Error 2