Open k15tfu opened 3 years ago
Same warnings with Android NDK22
Might be related to https://github.com/chriskohlhoff/asio/issues/290.
In file boost/asio/buffer_registration.hpp:
boost/asio/buffer_registration.hpp:62:31: error: 'allocator<void>' is deprecated [-Werror,-Wdeprecated-declarations]
typename Allocator = std::allocator<void> >
^
I also encountered this problem, how to deal with it, I think the C++20 standard has been removed allocator
In file boost/asio/associated_allocator.hpp:
In file boost/asio/impl/compose.hpp:
In file boost/asio/impl/executor.hpp:
In file boost/asio/execution/any_executor.hpp:
In file boost/asio/system_executor.hpp:
In file boost/asio/io_context.hpp:
In file boost/asio/system_context.hpp:
In file boost/asio/detail/impl/strand_executor_service.hpp:
In file boost/asio/thread_pool.hpp:
There are other places that should be fixed.