In file included from asio/asio/experimental/coro.hpp:24:
asio/asio/experimental/detail/coro_promise_allocator.hpp: In function 'constexpr std::size_t asio::experimental::detail::variadic_first(std::size_t)':
asio/asio/experimental/detail/coro_promise_allocator.hpp:64:44: error: incomplete type 'std::numeric_limits<long unsigned int>' used in nested name specifier
64 | return std::numeric_limits<std::size_t>::max();
| ^~~
Adding #include <limits> before #include "asio/experimental/coro.hpp" fixes the issue.
Compiler error message with version 1.28.1:
Adding
#include <limits>
before#include "asio/experimental/coro.hpp"
fixes the issue.