mapbox / mapbox/mapbox-gl-native-boost

Incompatible with C++17

Open
#6 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
2
Forks
9
PR merge metrics
No merged PRs in 30d

Description

Hello, here std::unary_function is called, which has been removed in C++ 17.
I'm using Gentoo and I can't compile qtlocation because of this problem, as it uses mapbox-gl-native, that uses mapbox-gl-native-boost.

Relevant Gentoo bug

Upstream patch

Contributor guide

Open the contributing guide

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.

Research direction

Start at include/boost/container_hash/hash.hpp around line 130 and compare the std::unary_function usage with the linked upstream Boost functional patch. Verify the change against the C++17 compatibility problem, then confirm that the relevant dependent build, including qtlocation through mapbox-gl-native, no longer fails for this reason.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.