You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Deprecation warning: LibSocket.cpp:29: #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated.#383
Open
dreirund opened this issue
Nov 26, 2024
· 0 comments
Just note that while building this, I get a warning about a deprecation from boost, used in src/LibSocket.cpp (which might lead to build errors in the future):
[...]
[ 48%] Built target RangeMapTest
[ 48%] Building CXX object src/webserver/src/CMakeFiles/amuleweb.dir/__/__/NetworkFunctions.cpp.o
[ 48%] Building C object unittests/tests/CMakeFiles/TextFileTest.dir/__/__/src/libs/common/strerror_r.c.o
[ 48%] Building CXX object unittests/tests/CMakeFiles/TextFileTest.dir/__/__/src/libs/common/Path.cpp.o
[ 48%] Building CXX object src/CMakeFiles/amulecmd.dir/OtherFunctions.cpp.o
[ 48%] Building CXX object src/webserver/src/CMakeFiles/amuleweb.dir/__/__/LoggerConsole.cpp.o
[ 48%] Building C object unittests/tests/CMakeFiles/PathTest.dir/__/__/src/libs/common/strerror_r.c.o
In file included from /usr/include/boost/smart_ptr/detail/requires_cxx11.hpp:9,
from /usr/include/boost/smart_ptr/shared_ptr.hpp:17,
from /usr/include/boost/shared_ptr.hpp:17,
from /usr/include/boost/date_time/time_clock.hpp:17,
from /usr/include/boost/date_time/posix_time/posix_time_types.hpp:10,
from /usr/include/boost/asio/time_traits.hpp:23,
from /usr/include/boost/asio/detail/timer_queue_ptime.hpp:22,
from /usr/include/boost/asio/detail/deadline_timer_service.hpp:31,
from /usr/include/boost/asio/basic_deadline_timer.hpp:25,
from /usr/include/boost/asio.hpp:33,
from /var/cache/makepkg/build/amule-git/src/amule/src/LibSocketAsio.cpp:45,
from /var/cache/makepkg/build/amule-git/src/amule/src/LibSocket.cpp:29:
/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(
| ^~~~~~~~~~~~~~~~~~~~
[ 48%] Building CXX object unittests/tests/CMakeFiles/PathTest.dir/__/__/src/libs/common/Path.cpp.o
[...]
Regards!
The text was updated successfully, but these errors were encountered:
Just note that while building this, I get a warning about a deprecation from boost, used in
src/LibSocket.cpp
(which might lead to build errors in the future):Regards!
The text was updated successfully, but these errors were encountered: