Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

v1::process does not compile under c++26

Open
#557 1 comment 0 reactions 0 assignees View on GitHub

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

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>);

see:
https://en.cppreference.com/cpp/locale/codecvt_utf8

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from boostorg/process

All issues in boostorg/process

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.