boost::parser compilation error on mac with boost 1.88
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
Start with boost/parser/detail/stl_interfaces/view_adaptor.hpp around line 199 and reproduce the reported compilation with macOS, clang 18.1.8, and Boost 1.88. Check the range_adaptor_closure reference and confirm the completed change by rebuilding the affected parser code without the reported error.
Written by the indexing model from the issue text.
Description
view_adaptor.hpp (boost::parser) does not compile on a mac with clang 18.1.8 and boost 1.88:
/include/boost/parser/detail/stl_interfaces/view_adaptor.hpp:199:35: error: no template named 'range_adaptor_closure' in namespace 'std::ranges'; did you mean 'std::__range_adaptor_closure'?
199 | using range_adaptor_closure = std::ranges::range_adaptor_closure<D>;
| ^~~~~~~~~~~~~
/bin/../include/c++/v1/__ranges/range_adaptor.h:58:8: note: 'std::__range_adaptor_closure' declared here
58 | struct __range_adaptor_closure {
| ^
1 error generated.
- Dominant language
- C++
- Stars
- 182
- Forks
- 28
- 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/parser
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100
-
Difficulty 1/5 Under an hour Newbie friendliness 20/100
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
AXERA-TECH/ax-llm#77 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
games-on-whales/wolf#509 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
bug-unconfirmed
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
NVIDIA/cuda-samples#453 ·