v1::process does not compile under c++26
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 65/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- cpp
- Domain
- operating-systems
Research direction
Reproduce the C++26 build failure on macOS and inspect boost/process/v1/locale.hpp around line 79, where std::codecvt_utf8 is referenced. Check the linked codecvt_utf8 documentation and verify the appropriate compatibility change by rebuilding the affected v1::process headers under C++26; done means compilation succeeds.
Written by the indexing model from the issue text.
Description
Here is compile error (osx platform),
In file included from /opt/homebrew/include/boost/process/v1/system.hpp:21:
In file included from /opt/homebrew/include/boost/process/v1/detail/on_exit.hpp:12:
In file included from /opt/homebrew/include/boost/process/v1/detail/posix/on_exit.hpp:10:
In file included from /opt/homebrew/include/boost/process/v1/async.hpp:34:
In file included from /opt/homebrew/include/boost/process/v1/detail/traits.hpp:15:
In file included from /opt/homebrew/include/boost/process/v1/detail/traits/wchar_t.hpp:15:
/opt/homebrew/include/boost/process/v1/locale.hpp:79:45: error: no template named 'codecvt_utf8' in namespace ‘std’
79 | return std::locale(global_loc, new std::codecvt_utf8<wchar_t>);
- Dominant language
- C++
- Stars
- 145
- Forks
- 151
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
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/process
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
All issues in boostorg/process
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
google/libultrahdr#485 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
godotengine/godot#123776 ·
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 60/100
-
good first issue
Difficulty 1/5 Under an hour Newbie friendliness 90/100
-
good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
ros2/common_interfaces#344 ·