asio
asio copied to clipboard
Boost.org asio module
We have a self-written program which compiled without any issues until 1.75.0. I had some spare time and tried to find out, why the compiler reports syntax errors since 1.76.0....
File asio\impl\serial_port_base.ipp generates warning C4242 at line 511 due to conversion between `unsigned int` and `BYTE`. I have observed this when compiling with Visual Studio 2019 in an MFC project....
I can compile and run my code using boost perfectly on the powershell, however when I try to run the executable on bash the program runs but I get no...
a simple code ,i have tried the version 1.69 and 1.71 ``` #include #include #include #include using namespace std; using boost::asio::ip::tcp; string make_daytime_string() { time_t now = time(0); return ctime(&now);...
I couldn't find the source code for the examples in https://github.com/chriskohlhoff/asio/pulls , so I'm submitting this here. The existing examples for multicast sender/receiver don't work. I don't know if they...
In `io_uring_descriptor_service.hpp` we have: return descriptor_ops::sync_write_at1(impl.descriptor_, offset, impl.state_, bufs_type::first(buffers).data(), bufs_type::first(buffers).size(), ec); But in `descriptor_ops.ipp` we have: std::size_t sync_write_at1(int d, state_type state, uint64_t offset, const void* data, std::size_t size, boost::system::error_code& ec)...
Failed to build asio for systems without SIOCATMARK defined because of invalid old-version usage of undefined result variable in sockatmark The source code in this repository is generated from an...
in boost/asio/impl/connect.hpp:line 115, throw_error will be called no matter if there is an error or not. Should the call to this method stay in the call on the previous line...
With `-Werror` and `-Wundef`, the `clang` `__cpp_coroutines` check can cause an error. (error: '__cpp_coroutines' is not defined, evaluates to 0 [-Werror,-Wundef]) Presumably the gcc `__cpp_impl_coroutine` checks would also suffer from...
it is required on Windows (from boost/asio/detail/memory.hpp), since MSVC doesn't have std::aligned_alloc The source code in this repository is generated from an upstream repository at https://github.com/chriskohlhoff/asio. Please consider raising new...