Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'hash_value': identifier not found #892

Closed
oliverportcnc opened this issue Dec 19, 2024 · 4 comments
Closed

'hash_value': identifier not found #892

oliverportcnc opened this issue Dec 19, 2024 · 4 comments

Comments

@oliverportcnc
Copy link

oliverportcnc commented Dec 19, 2024

This error occurs both in MSVC and in GCC, just with slightly different error messages.

See boostorg/boost#991 for more details.

This can be fixed by adding

#include <boost/container_hash/hash.hpp>

inside string_view_base.hpp.

@alandefreitas
Copy link
Member

Mmm... Then Boost.URL would depend on ContainerHash.

The problem here is that you're using a Boost release where hash_value had already been removed from core::string_view but hasn't been removed yet from Boost.URL.

The problem should have been fixed already since 428ea43 has been merged in master.

@oliverportcnc
Copy link
Author

Thanks. This issue is still somehow present in Boost master though as shown in the linked ticket?

@alandefreitas
Copy link
Member

Have you tested this more recently? The issue is from 3 days ago and the develop branch has been merged to master yesterday.

@seektechnz
Copy link

seektechnz commented Dec 20, 2024

Seems to be working fine now, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants