Bug#977224: pokerth FTBFS with Boost 1.74
Adrian Bunk
bunk at debian.org
Sat Dec 12 19:31:18 GMT 2020
Source: pokerth
Version: 1.1.2-1
Severity: serious
Tags: ftbfs
https://buildd.debian.org/status/package.php?p=pokerth
...
/usr/include/boost/bind.hpp:36:1: note: ‘#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.’
36 | BOOST_PRAGMA_MESSAGE(
| ^~~~~~~~~~~~~~~~~~~~
src/net/common/serveracceptwebhelper.cpp: In member function ‘virtual void ServerAcceptWebHelper::Listen(unsigned int, bool, const string&, boost::shared_ptr<ServerLobbyThread>)’:
src/net/common/serveracceptwebhelper.cpp:61:109: error: ‘_1’ was not declared in this scope
61 | m_webSocketServer->set_validate_handler(boost::bind(boost::mem_fn(&ServerAcceptWebHelper::validate), this, _1));
| ^~
...
More information about the Pkg-games-devel
mailing list