Errors on AIX with C++20
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 30/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- cpp
- Domain
- networking
Research direction
Start by reproducing the Boost.Beast sample compilation on AIX with C++20 and inspect boost/asio/detail/impl/descriptor_ops.ipp around line 197, where the FIONBIO ioctl call reports the conversion error. Determine the platform-specific cause and verify that the samples compile without the reported error and warning.
Written by the indexing model from the issue text.
Description
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?
- Dominant language
- C++
- Stars
- 1.6k
- Forks
- 485
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from boostorg/asio
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 58/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
Similar issues
-
Feature
Difficulty 1/5 Under an hour Newbie friendliness 65/100
Narezzurri/OpenVPN-Config-Manager#95 ·
Maintainers usually reply within 1 day
-
bot-found bug priority: P1
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
madenvel/KalinkaPlayer#251 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
sqlitebrowser/sqlitebrowser#4208 ·
-
ROSES ROSES - Student Review
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
area/ysql kind/bug priority/medium
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
yugabyte/yugabyte-db#34552 ·
Maintainers usually reply within 1 day