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

Test sub_launcher.cpp is failed with no member named 'sleep_for' in namespace 'std::this_thread' in gcc 11

Open Beginner friendly
#211 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
68/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
cpp
Domain
testing-qa

Research direction

Start at test/sub_launcher.cpp around line 79 and reproduce the test failure with GCC 11. Check the test's standard-library includes, then verify it builds and runs successfully; done means std::this_thread::sleep_for is declared without relying on indirect includes.

Written by the indexing model from the issue text.

Description

Test sub_launcher.cpp is failed with no member named 'sleep_for' in namespace 'std::this_thread' in gcc 11.
Need to include <thread> explicitly.
https://github.com/boostorg/process/blob/741d3f4a07a65736c7ce60ea2f1084f079edec5e/test/sub_launcher.cpp#L79

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.