• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Compiling Cast system on Linux

chiitus

Member
Joined
Jun 1, 2009
Messages
206
Reaction score
12
When i try to compile the sources with cast system, this errors appears:

In file included from actions.cpp : 23:0 :player.h : 186:31 : warning : type qualifiers ignored on function return type [ - Wignored - qualifiers ]player.h : 187:43 : warning : type qualifiers ignored on function return type [ - Wignored - qualifiers ]player.h : 189:49 : warning : type qualifiers ignored on function return type [ - Wignored - qualifiers ]player.h : 197:44 : warning : type qualifiers ignored on function return type [ - Wignored - qualifiers ]player.h : 206:42 : warning : type qualifiers ignored on function return type [ - Wignored - qualifiers ]player.h : 227:30 : warning : type qualifiers ignored on function return type [ - Wignored - qualifiers ]player.h : 239:48 : warning : type qualifiers ignored on function return type [ - Wignored - qualifiers ]In file included from actions.cpp : 23:0 :player.h : 248:38 : warning : type qualifiers ignored on function return type [ - Wignored - qualifiers ]player.h : 258:41 : warning : type qualifiers ignored on function return type [ - Wignored - qualifiers ]player.h : 269:39 : warning : type qualifiers ignored on function return type [ - Wignored - qualifiers ]player.h : 278:42 : warning : type qualifiers ignored on function return type [ - Wignored - qualifiers ]In file included from actions.cpp : 23:0 :player.h : In member function ' uint32_t Player :: getCastIpByName ( std :: string ) ' :player.h : 215:11 : warning: converting to non -pointer type ' uint32_t { aka unsigned int }' from NULL [ - Wconversion - null ]player.h : In member function 'const void Player :: kickCastViewers ( ) ' :player.h : 236:34 : error : can not call constructors ' PlayerCast :: playerCast ' directly [ - fpermissive ]player.h : 236:34 : error: for a function- style cast , remove the redundant ' :: playerCast ' [- fpermissive ]In file included from actions.cpp : 23:0 :player.h : In member function 'const bool Player :: addCastBan ( std :: string ) ' :player.h : 253:46 : error : can not call constructors ' CastBan :: CastBan ' directly [ - fpermissive ]player.h : 253:46 : error: for a function- style cast , remove the redundant ' :: CastBan ' [- fpermissive ]player.h : In member function 'const bool Player :: addCastMute ( std :: string ) ' :player.h : 274:47 : error : can not call constructors ' CastBan :: CastBan ' directly [ - fpermissive ]player.h : 274:47 : error: for a function- style cast , remove the redundant ' :: CastBan ' [- fpermissive ]make: ** [ actions.o ] Error 1
 
Back
Top