boostorg / boostorg/asio

Errors on AIX with C++20

未关闭
#445 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
C++
星标
1.6k
派生
485
PR 合并指标
30 天内没有已合并 PR

描述

I am trying to compile the boost beast sample programs using boost-1.87.0

I am getting the below errors:

```
In file included from /boost/boost/asio.hpp:38:
In file included from /boost/boost/asio/basic_readable_pipe.hpp:39:
In file included from /boost/boost/asio/detail/reactive_descriptor_service.hpp:32:
In file included from /boost/boost/asio/detail/descriptor_ops.hpp:174:
/boost/boost/asio/detail/impl/descriptor_ops.ipp:197:25: error: implicit conversion from 'unsigned long' to 'int' changes value from 18446744071562356350 to -2147195266 [-Werror,-Wconstant-conversion]
197 | result = ::ioctl(d, FIONBIO, &arg);
| ~~ ^~~~~~~
```

So, was wondering if any have faced the same issue?

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。