Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@ubuntu:/TFS 0.4 Rev3996/source# ./build.sh
- TheForgottenServer build script- seems to speed things up ALOT.
- CCache: OK
- CCache binaries located in /usr/lib/ccache
- Building on 4 cores, using 5 processes
- make all-am
- make[1]: Entering directory `/TFS 0.4 Rev3996/source'
- g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fomit-frame-pointer -D__USE_SQLITE__ -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Werror -Wno-strict-aliasing -Wno-unused-parameter -pipe -MT actions.o -MD -MP -MF .deps/actions.Tpo -c -o actions.o actions.cpp
- g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fomit-frame-pointer -D__USE_SQLITE__ -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Werror -Wno-strict-aliasing -Wno-unused-parameter -pipe -MT allocator.o -MD -MP -MF .deps/allocator.Tpo -c -o allocator.o allocator.cpp
- g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fomit-frame-pointer -D__USE_SQLITE__ -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Werror -Wno-strict-aliasing -Wno-unused-parameter -pipe -MT baseevents.o -MD -MP -MF .deps/baseevents.Tpo -c -o baseevents.o baseevents.cpp
- g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fomit-frame-pointer -D__USE_SQLITE__ -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Werror -Wno-strict-aliasing -Wno-unused-parameter -pipe -MT beds.o -MD -MP -MF .deps/beds.Tpo -c -o beds.o beds.cpp
- g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fomit-frame-pointer -D__USE_SQLITE__ -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Werror -Wno-strict-aliasing -Wno-unused-parameter -pipe -MT chat.o -MD -MP -MF .deps/chat.Tpo -c -o chat.o chat.cpp
- mv -f .deps/allocator.Tpo .deps/allocator.Po
- g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fomit-frame-pointer -D__USE_SQLITE__ -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Werror -Wno-strict-aliasing -Wno-unused-parameter -pipe -MT combat.o -MD -MP -MF .deps/combat.Tpo -c -o combat.o combat.cpp
- In file included from actions.cpp:23:0:
- player.h: In member function ‘uint32_t Player::getCastIpByName(std::string)’:
- player.h:216:11: error: converting to non-pointer type ‘uint32_t {aka unsigned int}’ from NULL [-Werror=conversion-null]
- return NULL;
- ^
- player.h: In member function ‘void Player::kickCastViewers()’:
- player.h:237:34: error: cannot call constructor ‘PlayerCast::PlayerCast’ directly [-fpermissive]
- cast = PlayerCast::PlayerCast();
- ^
- player.h:237: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 ‘bool Player::addCastBan(std::string)’:
- player.h:263:46: error: cannot call constructor ‘CastBan::CastBan’ directly [-fpermissive]
- cast.bans.push_back(CastBan::CastBan(n, ip));
- ^
- player.h:263:46: error: for a function-style cast, remove the redundant ‘::CastBan’ [-fpermissive]
- player.h: In member function ‘bool Player::addCastMute(std::string)’:
- player.h:284:47: error: cannot call constructor ‘CastBan::CastBan’ directly [-fpermissive]
- cast.muted.push_back(CastBan::CastBan(n, ip));
- ^
- player.h:284:47: error: for a function-style cast, remove the redundant ‘::CastBan’ [-fpermissive]
- 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:216:11: error: converting to non-pointer type ‘uint32_t {aka unsigned int}’ from NULL [-Werror=conversion-null]
- return NULL;
- ^
- player.h: In member function ‘void Player::kickCastViewers()’:
- player.h:237:34: error: cannot call constructor ‘PlayerCast::PlayerCast’ directly [-fpermissive]
- cast = PlayerCast::PlayerCast();
- ^
- player.h:237:34: error: for a function-style cast, remove the redundant ‘::PlayerCast’ [-fpermissive]
- In file included from house.h:27:0,
- from beds.cpp:20:
- player.h: In member function ‘bool Player::addCastBan(std::string)’:
- player.h:263:46: error: cannot call constructor ‘CastBan::CastBan’ directly [-fpermissive]
- cast.bans.push_back(CastBan::CastBan(n, ip));
- ^
- player.h:263:46: error: for a function-style cast, remove the redundant ‘::CastBan’ [-fpermissive]
- player.h: In member function ‘bool Player::addCastMute(std::string)’:
- player.h:284:47: error: cannot call constructor ‘CastBan::CastBan’ directly [-fpermissive]
- cast.muted.push_back(CastBan::CastBan(n, ip));
- ^
- player.h:284:47: error: for a function-style cast, remove the redundant ‘::CastBan’ [-fpermissive]
- In file included from party.h:20:0,
- from chat.h:24,
- from chat.cpp:18:
- player.h: In member function ‘uint32_t Player::getCastIpByName(std::string)’:
- player.h:216:11: error: converting to non-pointer type ‘uint32_t {aka unsigned int}’ from NULL [-Werror=conversion-null]
- return NULL;
- ^
- player.h: In member function ‘void Player::kickCastViewers()’:
- player.h:237:34: error: cannot call constructor ‘PlayerCast::PlayerCast’ directly [-fpermissive]
- cast = PlayerCast::PlayerCast();
- ^
- player.h:237:34: error: for a function-style cast, remove the redundant ‘::PlayerCast’ [-fpermissive]
- In file included from party.h:20:0,
- from chat.h:24,
- from chat.cpp:18:
- player.h: In member function ‘bool Player::addCastBan(std::string)’:
- player.h:263:46: error: cannot call constructor ‘CastBan::CastBan’ directly [-fpermissive]
- cast.bans.push_back(CastBan::CastBan(n, ip));
- ^
- player.h:263:46: error: for a function-style cast, remove the redundant ‘::CastBan’ [-fpermissive]
- player.h: In member function ‘bool Player::addCastMute(std::string)’:
- player.h:284:47: error: cannot call constructor ‘CastBan::CastBan’ directly [-fpermissive]
- cast.muted.push_back(CastBan::CastBan(n, ip));
- ^
- player.h:284:47: error: for a function-style cast, remove the redundant ‘::CastBan’ [-fpermissive]
- In file included from game.h:31:0,
- from combat.cpp:23:
- player.h: In member function ‘uint32_t Player::getCastIpByName(std::string)’:
- player.h:216:11: error: converting to non-pointer type ‘uint32_t {aka unsigned int}’ from NULL [-Werror=conversion-null]
- return NULL;
- ^
- player.h: In member function ‘void Player::kickCastViewers()’:
- player.h:237:34: error: cannot call constructor ‘PlayerCast::PlayerCast’ directly [-fpermissive]
- cast = PlayerCast::PlayerCast();
- ^
- player.h:237:34: error: for a function-style cast, remove the redundant ‘::PlayerCast’ [-fpermissive]
- In file included from game.h:31:0,
- from combat.cpp:23:
- player.h: In member function ‘bool Player::addCastBan(std::string)’:
- player.h:263:46: error: cannot call constructor ‘CastBan::CastBan’ directly [-fpermissive]
- cast.bans.push_back(CastBan::CastBan(n, ip));
- ^
- player.h:263:46: error: for a function-style cast, remove the redundant ‘::CastBan’ [-fpermissive]
- player.h: In member function ‘bool Player::addCastMute(std::string)’:
- player.h:284:47: error: cannot call constructor ‘CastBan::CastBan’ directly [-fpermissive]
- cast.muted.push_back(CastBan::CastBan(n, ip));
- ^
- player.h:284:47: error: for a function-style cast, remove the redundant ‘::CastBan’ [-fpermissive]
- chat.cpp: In member function ‘ChatChannel* Chat::getChannel(Player*, uint16_t)’:
- chat.cpp:1144:10: error: converting ‘false’ to pointer type ‘ChatChannel*’ [-Werror=conversion-null]
- return false;
- ^
- cc1plus: all warnings being treated as errors
- cc1plus: all warnings being treated as errors
- make[1]: *** [actions.o] Error 1
- make[1]: *** Waiting for unfinished jobs....
- make[1]: *** [beds.o] Error 1
- cc1plus: all warnings being treated as errors
- make[1]: *** [combat.o] Error 1
- cc1plus: all warnings being treated as errors
- make[1]: *** [chat.o] Error 1
- mv -f .deps/baseevents.Tpo .deps/baseevents.Po
- make[1]: Leaving directory `/TFS 0.4 Rev3996/source'
- make: *** [all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment